...
 
Commits (2)
RESOURCES
PIECE
+ Type
+ Material
+ Width
+ Height
PRINT
+ Type
+ Height
+ Width
TOOL
+ Languages
PARTICIPANTS
\ No newline at end of file
<?php
return [
'@class' => 'Grav\\Common\\Config\\CompiledConfig',
<<<<<<< HEAD
'timestamp' => 1549993324,
'checksum' => 'd2bee1377c632f2fe05731c5864856fc',
=======
'timestamp' => 1549985964,
'checksum' => '52e15f8198a3eb6d1ce00d70536a1009',
>>>>>>> dbc0fd451654a52146fd4d9e16b09874f0a4c2c1
'files' => [
'user/config' => [
'media' => [
......@@ -23,7 +28,11 @@ return [
],
'system' => [
'file' => 'user/config/system.yaml',
<<<<<<< HEAD
'modified' => 1549993324
=======
'modified' => 1549985825
>>>>>>> dbc0fd451654a52146fd4d9e16b09874f0a4c2c1
]
],
'system/config' => [
......@@ -643,7 +652,7 @@ return [
'override_locale' => false
],
'home' => [
'alias' => '/home',
'alias' => '/ressources',
'hide_in_urls' => false
],
'pages' => [
......@@ -697,7 +706,7 @@ return [
'etag' => false,
'vary_accept_encoding' => false,
'redirect_default_route' => false,
'redirect_default_code' => 302,
'redirect_default_code' => '302',
'redirect_trailing_slash' => true,
'ignore_files' => [
0 => '.DS_Store'
......@@ -758,7 +767,7 @@ return [
]
],
'errors' => [
'display' => true,
'display' => 1,
'log' => true
],
'debugger' => [
......@@ -783,7 +792,8 @@ return [
'allowed_fallback_types' => [
],
'auto_metadata_exif' => false
'auto_metadata_exif' => false,
'upload_limit' => 2097152
],
'session' => [
'enabled' => true,
......
......@@ -2,7 +2,7 @@
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/themes/luuse-tool/blueprints/base.yaml',
'modified' => 1549983031,
'modified' => 1549992574,
'data' => [
'title' => 'Base',
'rules' => [
......@@ -23,20 +23,28 @@ return [
'type' => 'tab',
'title' => 'Ressource',
'fields' => [
'general' => [
'type' => 'section',
'title' => 'Général',
'xss_check' => [
'type' => 'xss'
],
'columnsA' => [
'type' => 'columns',
'fields' => [
'xss_check' => [
'type' => 'xss'
],
'header.title' => [
'type' => 'text',
'autofocus' => true,
'style' => 'vertical',
'label' => 'Titre'
'columnA' => [
'type' => 'column',
'fields' => [
'header.title' => [
'type' => 'text',
'autofocus' => true,
'style' => 'vertical',
'label' => 'Titre'
]
]
]
]
],
'general' => [
'type' => 'section',
'title' => 'Général'
]
]
],
......@@ -279,6 +287,7 @@ return [
'label' => 'PLUGIN_ADMIN.ROUTABLE',
'help' => 'PLUGIN_ADMIN.ROUTABLE_HELP',
'highlight' => 1,
'default' => 0,
'options' => [
1 => 'PLUGIN_ADMIN.ENABLED',
0 => 'PLUGIN_ADMIN.DISABLED'
......
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/themes/luuse-tool/blueprints/tool.yaml',
'modified' => 1549993240,
'data' => [
'title' => 'Outil',
'[email protected]' => [
'type' => 'base',
'context' => 'blueprints://pages'
],
'form' => [
'fields' => [
'tabs' => [
'type' => 'tabs',
'active' => 3,
'fields' => [
'resource' => [
'fields' => [
'columnsA' => [
'fields' => [
'columnB' => [
'type' => 'column',
'fields' => [
'header.contributor' => [
'type' => 'text',
'label' => 'Contributeur',
'style' => 'vertical'
]
]
]
]
],
'general' => [
'fields' => [
'columns' => [
'type' => 'columns',
'fields' => [
'column1' => [
'type' => 'column',
'fields' => [
'header.type' => [
'type' => 'text',
'label' => 'Type',
'style' => 'vertical'
],
'header.url' => [
'type' => 'url',
'label' => 'Url',
'style' => 'vertical'
],
'header.gitUrl' => [
'type' => 'url',
'label' => 'Git Url',
'style' => 'vertical'
],
'header.year' => [
'type' => 'text',
'label' => 'Année',
'style' => 'vertical'
],
'header.images' => [
'type' => 'file',
'label' => 'Images',
'style' => 'vertical',
'destination' => 'user/themes/luuse-tool/images',
'multiple' => true,
'limit' => 4,
'filesize' => 1.5,
'accept' => [
0 => 'image/*'
]
]
]
],
'column2' => [
'type' => 'column',
'fields' => [
'header.authors' => [
'btnLabel' => 'Ajouter un auteur',
'name' => 'authors',
'type' => 'list',
'label' => 'Auteur(s)',
'style' => 'vertical',
'collapsed' => false,
'collapsible' => true,
'multiple' => true,
'fields' => [
'.textauthor' => [
'type' => 'text',
'label' => 'Auteur',
'size' => 'medium'
],
'.urlauthor' => [
'type' => 'url',
'label' => 'URL'
]
]
],
'header.description' => [
'type' => 'textarea',
'label' => 'Description',
'style' => 'vertical'
]
]
]
]
]
]
],
'details' => [
'type' => 'section',
'title' => 'Détails',
'fields' => [
'columns2' => [
'type' => 'columns',
'fields' => [
'column3' => [
'type' => 'column',
'fields' => [
'header.languages' => [
'label' => 'Langages de programmation (séparés par une virgule)',
'type' => 'text',
'style' => 'vertical',
'size' => 'large'
]
]
]
]
]
]
]
]
],
'advanced' => [
'fields' => [
'overrides' => [
'fields' => [
'header.routable' => [
'default' => 0
],
'header.visible' => [
'default' => 0
]
]
]
]
]
]
]
]
]
]
];
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/themes/luuse-tool/blueprints/resources.yaml',
'modified' => 1549993506,
'data' => [
'title' => 'Resources',
'[email protected]' => [
'type' => 'base',
'context' => 'blueprints://pages'
]
]
];
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/themes/luuse-tool/blueprints/resource.yaml',
'modified' => 1549985547,
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/themes/luuse-tool/blueprints/object.yaml',
'modified' => 1549993493,
'data' => [
'title' => 'Resource',
'title' => 'Object',
'[email protected]' => [
'type' => 'base',
'context' => 'blueprints://pages'
......@@ -17,29 +17,41 @@ return [
'fields' => [
'resource' => [
'fields' => [
'general' => [
'columnsA' => [
'fields' => [
'pieceType' => [
'label' => 'Type(s)',
'type' => 'checkboxes',
'style' => 'vertical',
'options' => [
'programm' => 'Programme',
'print' => 'Imprimé',
'instalation' => 'Installation'
'columnB' => [
'type' => 'column',
'fields' => [
'header.contributor' => [
'type' => 'text',
'label' => 'Contributeur',
'style' => 'vertical'
]
]
],
]
]
],
'general' => [
'fields' => [
'columns' => [
'type' => 'columns',
'fields' => [
'column1' => [
'type' => 'column',
'fields' => [
'header.url' => [
'header.type' => [
'type' => 'text',
'label' => 'URL',
'label' => 'Type',
'style' => 'vertical'
],
'header.url' => [
'type' => 'url',
'label' => 'URL',
'style' => 'vertical',
'validate' => [
'pattern' => '^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?'
]
],
'header.year' => [
'type' => 'text',
'label' => 'Année',
......@@ -78,7 +90,7 @@ return [
'size' => 'medium'
],
'.urlauthor' => [
'type' => 'text',
'type' => 'url',
'label' => 'URL'
]
]
......@@ -104,11 +116,6 @@ return [
'column3' => [
'type' => 'column',
'fields' => [
'languages' => [
'type' => 'text',
'label' => 'Langages de programmation<br>(séparés par une virgule)',
'style' => 'vertical'
],
'columns3' => [
'type' => 'columns',
'fields' => [
......@@ -140,15 +147,9 @@ return [
'type' => 'column',
'fields' => [
'materials' => [
'label' => 'Matériaux <br>(séparés par une virgule)',
'label' => 'Matériaux (séparés par une virgule)',
'type' => 'text',
'style' => 'vertical'
],
'header.contributor' => [
'type' => 'select',
'label' => 'Parent',
'classes' => 'fancy',
'[email protected]' => '\\Grav\\Common\\Page\\Pages::parents'
]
]
]
......@@ -157,6 +158,20 @@ return [
]
]
]
],
'advanced' => [
'fields' => [
'overrides' => [
'fields' => [
'header.routable' => [
'default' => 0
],
'header.visible' => [
'default' => 0
]
]
]
]
]
]
]
......
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/accounts/marianne.yaml',
'modified' => 1549965590,
'data' => [
'email' => '[email protected]',
'access' => [
'admin' => [
'login' => true,
'super' => true
],
'site' => [
'login' => true
]
],
'fullname' => 'Marianne',
'title' => NULL,
'state' => 'enabled',
'hashed_password' => '$2y$10$CMGfvf.rjxqqYt3OrDpLheaPh2EqgrKfJdJSndTnWwCU0Mvwc.Qw.'
]
];
......@@ -2,7 +2,7 @@
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/config/system.yaml',
'modified' => 1549970862,
'modified' => 1549991909,
'data' => [
'absolute_urls' => false,
'home' => [
......
1550598330
a:2:{s:7:"content";s:49:"<p>Woops. Looks like this page doesn't exist.</p>";s:12:"content_meta";N;}
\ No newline at end of file
[{"id":"PHP Minimum Version","order":102,"level":"critical","status":true,"msg":"Your PHP <strong>7.3.2<\/strong> is greater than the minimum of <strong>5.6.4<\/strong> required","details":null,"help":"https:\/\/getgrav.org\/blog\/raising-php-requirements-2018","class":"Grav\\Plugin\\Problems\\PHPVersion"},{"id":"PHP Modules","order":101,"level":"critical","status":true,"msg":"All modules look good!","details":{"errors":[],"success":{"curl":"PHP Curl (Data Transfer Library) is successfully installed","ctype":"PHP Ctype is successfully installed","dom":"PHP DOM is successfully installed","gd":"PHP GD (Image Manipulation Library) is successfully installed","mbstring":"PHP Mbstring (Multibyte String Library) is successfully installed","openssl":"PHP OpenSSL (Secure Sockets Library) is successfully installed","xml":"PHP XML Library is successfully installed","zip":"PHP Zip extension is successfully installed"}},"help":"https:\/\/learn.getgrav.org\/basics\/requirements#php-requirements","class":"Grav\\Plugin\\Problems\\PHPModules"},{"id":"Essential Folders","order":100,"level":"critical","status":true,"msg":"All folders look good!","details":{"errors":[],"success":{"\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/backup":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/cache":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/logs":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/images":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/assets":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/system":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/user\/data":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/user\/pages":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/user\/config":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/user\/plugins\/error":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/user\/plugins":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/user\/themes":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/vendor":"exists and is writable","\/home\/etienne\/Documents\/TAF\/www\/2019\/luuse.tools\/tools-for-fig\/site\/tmp":"exists and is writable"}},"help":"https:\/\/learn.getgrav.org\/basics\/folder-structure","class":"Grav\\Plugin\\Problems\\EssentialFolders"},{"id":"Apache Modules","order":1,"level":"critical","status":true,"msg":"All modules look good!","details":{"errors":[],"success":{"mod_rewrite":"module required but not enabled"}},"help":"https:\/\/learn.getgrav.org\/basics\/requirements#apache-requirements","class":"Grav\\Plugin\\Problems\\Apache"},{"id":"Permissions Setup","order":-1,"level":"warning","status":true,"msg":"Your default file umask is <strong>22<\/strong> which looks good!","details":null,"help":"https:\/\/learn.getgrav.org\/troubleshooting\/permissions","class":"Grav\\Plugin\\Problems\\Permissions"}]
\ No newline at end of file
<?php
/* login.html.twig */
class __TwigTemplate_cdea07e9388f7bdd7e2d8f1666599cd90b73c281e367e59294d066bca38382fe extends Twig_Template
/* default.json.twig */
class __TwigTemplate_e45148b5d754f338b66f525d7d7169ef3652a9b997aeaa82d74c88c90bd4c116 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
......@@ -16,37 +16,21 @@ class __TwigTemplate_cdea07e9388f7bdd7e2d8f1666599cd90b73c281e367e59294d066bca38
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["user"] = $this->getAttribute(($context["grav"] ?? null), "user", []);
// line 2
echo "
if ($this->getAttribute(($context["admin"] ?? null), "json_response", [])) {
// line 2
echo twig_jsonencode_filter($this->getAttribute(($context["admin"] ?? null), "json_response", []));
echo "
";
// line 3
if (($this->getAttribute(($context["user"] ?? null), "username", []) && $this->getAttribute(($context["user"] ?? null), "authenticated", []))) {
// line 4
echo " ";
if (( !$this->getAttribute(($context["user"] ?? null), "authorized", []) && $this->getAttribute(($context["user"] ?? null), "twofa_enabled", []))) {
// line 5
echo " ";
$this->loadTemplate("partials/login-twofa.html.twig", "login.html.twig", 5)->display($context);
// line 6
echo " ";
} else {
// line 7
echo " ";
$this->loadTemplate("partials/login-logout.html.twig", "login.html.twig", 7)->display($context);
// line 8
echo " ";
}
} else {
// line 10
echo " ";
$this->loadTemplate("partials/login-form.html.twig", "login.html.twig", 10)->display($context);
// line 4
echo "{}
";
}
}
public function getTemplateName()
{
return "login.html.twig";
return "default.json.twig";
}
public function isTraitable()
......@@ -56,7 +40,7 @@ class __TwigTemplate_cdea07e9388f7bdd7e2d8f1666599cd90b73c281e367e59294d066bca38
public function getDebugInfo()
{
return array ( 42 => 10, 38 => 8, 35 => 7, 32 => 6, 29 => 5, 26 => 4, 24 => 3, 21 => 2, 19 => 1,);
return array ( 26 => 4, 21 => 2, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
......@@ -69,16 +53,11 @@ class __TwigTemplate_cdea07e9388f7bdd7e2d8f1666599cd90b73c281e367e59294d066bca38
public function getSourceContext()
{
return new Twig_Source("{% set user = grav.user %}
{% if user.username and user.authenticated %}
{% if not user.authorized and user.twofa_enabled %}
{% include 'partials/login-twofa.html.twig' %}
{% else %}
{% include 'partials/login-logout.html.twig' %}
{% endif %}
return new Twig_Source("{% if admin.json_response %}
{{ admin.json_response|json_encode|raw }}
{% else %}
{% include 'partials/login-form.html.twig' %}
{% endif %}", "login.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/themes/grav/templates/login.html.twig");
{}
{% endif %}
", "default.json.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/themes/grav/templates/default.json.twig");
}
}
<?php
/* error.html.twig */
class __TwigTemplate_00f833833026273312d185c94ea9b7f638f43f5feaedc87a795b8655a3684f76 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("partials/base.html.twig", "error.html.twig", 1);
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
return "partials/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_content($context, array $blocks = [])
{
// line 4
echo " <div class=\"lead text-center\">
<h1>Error!</h1>
";
// line 6
echo $this->getAttribute(($context["page"] ?? null), "content", []);
echo "
</div>
";
}
public function getTemplateName()
{
return "error.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 35 => 6, 31 => 4, 28 => 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 'partials/base.html.twig' %}
{% block content %}
<div class=\"lead text-center\">
<h1>Error!</h1>
{{ page.content }}
</div>
{% endblock %}
", "error.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/themes/luuse-tool/templates/error.html.twig");
}
}
<?php
/* resources.html.twig */
class __TwigTemplate_2c3e69d4ec649d6d3d72569a888cb44a1474ad230932991ec5264a94fcbacfd6 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("partials/base.html.twig", "resources.html.twig", 1);
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
return "partials/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_body($context, array $blocks = [])
{
// line 4
echo "<main>
\t<section class=\"resources\">
\t\t";
// line 6
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["page"] ?? null), "children", []));
foreach ($context['_seq'] as $context["_key"] => $context["resource"]) {
// line 7
echo "\t\t<div class=\"resource ";
echo $this->getAttribute($context["resource"], "template", []);
echo "\" id=\"";
echo $this->getAttribute($context["resource"], "slug", []);
echo "\">
\t\t\t<header>
\t\t\t\t<h2>";
// line 9
echo $this->getAttribute($this->getAttribute($context["resource"], "header", []), "title", []);
echo "</h2>
\t\t\t\t<ul class=\"general\">
\t\t\t\t\t";
// line 11
if ($this->getAttribute($this->getAttribute($context["resource"], "header", []), "type", [])) {
echo "<li class=\"type\">";
echo $this->getAttribute($this->getAttribute($context["resource"], "header", []), "type", []);
echo "</li>";
}
// line 12
echo "\t\t\t\t\t";
if ($this->getAttribute($this->getAttribute($context["resource"], "header", []), "year", [])) {
echo "<li class=\"year\">";
echo $this->getAttribute($this->getAttribute($context["resource"], "header", []), "year", []);
echo "</li>";
}
// line 13
echo "\t\t\t\t\t";
if ($this->getAttribute($this->getAttribute($context["resource"], "header", []), "url", [])) {
echo "<li class=\"url\"><a href=\"";
echo $this->getAttribute($this->getAttribute($context["resource"], "header", []), "url", []);
echo "\">";
echo $this->getAttribute($this->getAttribute($context["resource"], "header", []), "url", []);
echo "</a></li>";
}
// line 14
echo "\t\t\t\t\t";
if ($this->getAttribute($this->getAttribute($context["resource"], "header", []), "authors", [])) {
// line 15
echo "\t\t\t\t\t\t<ul class=\"authors\">
\t\t\t\t\t\t\t";
// line 16
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute($context["resource"], "header", []), "authors", []));
foreach ($context['_seq'] as $context["_key"] => $context["author"]) {
// line 17
echo "\t\t\t\t\t\t\t\t<li><a href=\"";
echo $this->getAttribute($context["author"], "url", []);
echo "\">";
echo $this->getAttribute($context["author"], "name", []);
echo "</a></li>
\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['author'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
echo "\t\t\t\t\t\t</ul>
\t\t\t\t\t";
}
// line 21
echo "\t\t\t\t</ul>
\t\t\t</header>
\t\t</div>
\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['resource'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 25
echo "\t</section>
</main>
";
}
public function getTemplateName()
{
return "resources.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 108 => 25, 99 => 21, 95 => 19, 84 => 17, 80 => 16, 77 => 15, 74 => 14, 65 => 13, 58 => 12, 52 => 11, 47 => 9, 39 => 7, 35 => 6, 31 => 4, 28 => 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 'partials/base.html.twig' %}
{% block body %}
<main>
\t<section class=\"resources\">
\t\t{% for resource in page.children %}
\t\t<div class=\"resource {{ resource.template }}\" id=\"{{ resource.slug }}\">
\t\t\t<header>
\t\t\t\t<h2>{{ resource.header.title }}</h2>
\t\t\t\t<ul class=\"general\">
\t\t\t\t\t{% if resource.header.type %}<li class=\"type\">{{ resource.header.type }}</li>{% endif %}
\t\t\t\t\t{% if resource.header.year %}<li class=\"year\">{{ resource.header.year }}</li>{% endif %}
\t\t\t\t\t{% if resource.header.url %}<li class=\"url\"><a href=\"{{ resource.header.url }}\">{{ resource.header.url }}</a></li>{% endif %}
\t\t\t\t\t{% if resource.header.authors %}
\t\t\t\t\t\t<ul class=\"authors\">
\t\t\t\t\t\t\t{% for author in resource.header.authors %}
\t\t\t\t\t\t\t\t<li><a href=\"{{ author.url }}\">{{ author.name }}</a></li>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</ul>
\t\t\t\t\t{% endif %}
\t\t\t\t</ul>
\t\t\t</header>
\t\t</div>
\t\t{% endfor %}
\t</section>
</main>
{% endblock %}", "resources.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/themes/luuse-tool/templates/resources.html.twig");
}
}
<?php
/* forms/fields/password/password.html.twig */
class __TwigTemplate_b6bd9c325c2942175849221234494787e4319e9d2e846baa319243de564ac542 extends Twig_Template
/* forms/fields/url/url.html.twig */
class __TwigTemplate_137e09da54d6598e8617d3f842cd830f6971ed30fae4200a89807d320d5d6242 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/password/password.html.twig", 1);
$this->parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/url/url.html.twig", 1);
$this->blocks = [
'input_attributes' => [$this, 'block_input_attributes'],
];
......@@ -28,7 +28,7 @@ class __TwigTemplate_b6bd9c325c2942175849221234494787e4319e9d2e846baa319243de564
public function block_input_attributes($context, array $blocks = [])
{
// line 4
echo " type=\"password\"
echo " type=\"url\"
";
// line 5
$this->displayParentBlock("input_attributes", $context, $blocks);
......@@ -38,7 +38,7 @@ class __TwigTemplate_b6bd9c325c2942175849221234494787e4319e9d2e846baa319243de564
public function getTemplateName()
{
return "forms/fields/password/password.html.twig";
return "forms/fields/url/url.html.twig";
}
public function isTraitable()
......@@ -64,9 +64,8 @@ class __TwigTemplate_b6bd9c325c2942175849221234494787e4319e9d2e846baa319243de564
return new Twig_Source("{% extends \"forms/field.html.twig\" %}
{% block input_attributes %}
type=\"password\"
type=\"url\"
{{ parent() }}
{% endblock %}
", "forms/fields/password/password.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/form/templates/forms/fields/password/password.html.twig");
{% endblock %}", "forms/fields/url/url.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/form/templates/forms/fields/url/url.html.twig");
}
}
<?php
/* partials/base.html.twig */
class __TwigTemplate_4bd349af12852d014a4938a1974aff3f501394ff3e6526367483f15acbec3bd7 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'head' => [$this, 'block_head'],
'stylesheets' => [$this, 'block_stylesheets'],
'header' => [$this, 'block_header'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["theme_config"] = $this->getAttribute($this->getAttribute(($context["config"] ?? null), "themes", []), $this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "system", []), "pages", []), "theme", []));
// line 2
echo "<!DOCTYPE html>
<html lang=\"";
// line 3
echo (($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "language", []), "getActive", [])) ? ($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "language", []), "getActive", [])) : ($this->getAttribute(($context["theme_config"] ?? null), "default_lang", [])));
echo "\">
<head>
";
// line 5
$this->displayBlock('head', $context, $blocks);
// line 17
echo "</head>
<body>
";
// line 20
$this->displayBlock('header', $context, $blocks);
// line 22
echo "
";
// line 23
$this->displayBlock('body', $context, $blocks);
// line 25
echo "
";
// line 26
$this->displayBlock('javascripts', $context, $blocks);
// line 29
echo $this->getAttribute(($context["assets"] ?? null), "js", [], "method");
echo "
</body>
</html>
";
}
// line 5
public function block_head($context, array $blocks = [])
{
// line 6
echo " <meta charset=\"utf-8\" />
<title>";
// line 7
if ($this->getAttribute(($context["header"] ?? null), "title", [])) {
echo twig_escape_filter($this->env, $this->getAttribute(($context["header"] ?? null), "title", []), "html");
echo " | ";
}
echo twig_escape_filter($this->env, $this->getAttribute(($context["site"] ?? null), "title", []), "html");
echo "</title>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
";
// line 10
$this->loadTemplate("partials/metadata.html.twig", "partials/base.html.twig", 10)->display($context);
// line 11
echo " <link rel=\"canonical\" href=\"";
echo $this->getAttribute(($context["page"] ?? null), "url", [0 => true, 1 => true], "method");
echo "\" />
";
// line 12
$this->displayBlock('stylesheets', $context, $blocks);
// line 15
echo " ";
echo $this->getAttribute(($context["assets"] ?? null), "css", [], "method");
echo "
";
}
// line 12
public function block_stylesheets($context, array $blocks = [])
{
// line 13
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addCss", [0 => "theme://assets/css/main.css", 1 => 98], "method");
// line 14
echo " ";
}
// line 20
public function block_header($context, array $blocks = [])
{
}
// line 23
public function block_body($context, array $blocks = [])
{
}
// line 26
public function block_javascripts($context, array $blocks = [])
{
// line 27
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addJs", [0 => "theme://assets/css/main.js", 1 => 100], "method");
}
public function getTemplateName()
{
return "partials/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 117 => 27, 114 => 26, 109 => 23, 104 => 20, 100 => 14, 97 => 13, 94 => 12, 87 => 15, 85 => 12, 80 => 11, 78 => 10, 68 => 7, 65 => 6, 62 => 5, 53 => 29, 51 => 26, 48 => 25, 46 => 23, 43 => 22, 41 => 20, 36 => 17, 34 => 5, 29 => 3, 26 => 2, 24 => 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 theme_config = attribute(config.themes, config.system.pages.theme) %}
<!DOCTYPE html>
<html lang=\"{{ grav.language.getActive ?: theme_config.default_lang }}\">
<head>
{% block head %}
<meta charset=\"utf-8\" />
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
{% include 'partials/metadata.html.twig' %}
<link rel=\"canonical\" href=\"{{ page.url(true, true) }}\" />
{% block stylesheets %}
{% do assets.addCss('theme://assets/css/main.css', 98) %}
{% endblock %}
{{ assets.css() }}
{% endblock head %}
</head>
<body>
{% block header %}
{% endblock %}
{% block body %}
{% endblock %}
{% block javascripts %}
{% do assets.addJs('theme://assets/css/main.js', 100) %}
{% endblock %}
{{ assets.js() }}
</body>
</html>
", "partials/base.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/themes/luuse-tool/templates/partials/base.html.twig");
}
}
<?php
/* partials/dashboard-feed.html.twig */
class __TwigTemplate_6c0b694e7bcda19af76eac5246a8753d49e66460adcfe8168c3bb734af52616b extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "<div id=\"news-feed\" class=\"dashboard-item admin-block default-box-shadow\">
<h1>
";
// line 3
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.NEWS_FEED"), "html", null, true);
echo "
<span class=\"right\">
<a href=\"#\" class=\"button button-small\" data-refresh=\"feed\"><i class=\"fa fa-refresh\"></i></a>
</span>
</h1>
<div class=\"widget-content\">
<div class=\"widget-loader\"><i class=\"fa fa-refresh fa-spin\"></i></div>
<ul></ul>
</div>
</div>
";
}
public function getTemplateName()
{
return "partials/dashboard-feed.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 23 => 3, 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("<div id=\"news-feed\" class=\"dashboard-item admin-block default-box-shadow\">
<h1>
{{ \"PLUGIN_ADMIN.NEWS_FEED\"|tu }}
<span class=\"right\">
<a href=\"#\" class=\"button button-small\" data-refresh=\"feed\"><i class=\"fa fa-refresh\"></i></a>
</span>
</h1>
<div class=\"widget-content\">
<div class=\"widget-loader\"><i class=\"fa fa-refresh fa-spin\"></i></div>
<ul></ul>
</div>
</div>
", "partials/dashboard-feed.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/themes/grav/templates/partials/dashboard-feed.html.twig");
}
}
<?php
/* partials/dashboard-maintenance.html.twig */
class __TwigTemplate_9d52cb1fc2743794a9f3df0e357de7db905191934d9ee5464ed7f53aae05f5c0 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->authorize([0 => "admin.maintenance", 1 => "admin.super"])) {
// line 2
echo " ";
$context["backup"] = $this->getAttribute(($context["admin"] ?? null), "lastBackup", [], "method");
// line 3
echo "
<div id=\"updates\" class=\"dashboard-item dashboard-left\">
<div class=\"secondary-accent default-box-shadow\">
<h1>";
// line 6
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.MAINTENANCE"), "html", null, true);
echo "</h1>
<div class=\"admin-update-charts\">
<div class=\"updates-chart\" data-chart-name=\"updates\" data-chart-type=\"pie\" data-chart-data=\"";
// line 8
echo twig_escape_filter($this->env, twig_jsonencode_filter(["series" => [0 => 100, 1 => 0]]), "html_attr");
echo "\">
<div class=\"chart-wrapper\">
<div class=\"ct-chart chart-loader\"><i class=\"fa fa-refresh fa-spin\"></i></div>
<span class=\"numeric hidden\"><span>-</span><em>";
// line 11
echo twig_escape_filter($this->env, twig_lower_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.UPDATED")), "html", null, true);
echo "</em></span>
</div>
<p class=\"js__updates-available-description\">&nbsp;</p>
</div>
<div class=\"backups-chart\" data-chart-name=\"backups\" data-chart-type=\"pie\" data-chart-data=\"";
// line 15
echo twig_escape_filter($this->env, twig_jsonencode_filter(["series" => [0 => $this->getAttribute(($context["backup"] ?? null), "chart_fill", []), 1 => $this->getAttribute(($context["backup"] ?? null), "chart_empty", [])]]), "html_attr");
echo "\">
<div class=\"chart-wrapper\">
<div class=\"ct-chart chart-loader\"><i class=\"fa fa-refresh fa-spin\"></i></div>
<span class=\"numeric hidden\">";
// line 18
echo $this->getAttribute(($context["backup"] ?? null), "days", []);
echo "<em>";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.DAYS")), "html", null, true);
echo "</em></span>
</div>
<p class=\"hidden\">";
// line 20
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.LAST_BACKUP"), "html", null, true);
echo "</p>
</div>
</div>
<div class=\"flush-bottom button-bar\">
<a class=\"button hidden\" href=\"#\" data-update-packages data-remodal-target=\"update-packages\" data-plugin-action=\"start-packages-update\"><i class=\"fa fa-cloud-download\"></i> ";
// line 25
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.UPDATE"), "html", null, true);
echo "</a>
<button data-ajax=\"";
// line 26
echo twig_escape_filter($this->env, $this->getAttribute(($context["uri"] ?? null), "addNonce", [0 => (((($context["base_url_relative"] ?? null) . "/backup.json/task") . $this->getAttribute($this->getAttribute(($context["config"] ?? null), "system", []), "param_sep", [])) . "backup"), 1 => "admin-form", 2 => "admin-nonce"], "method"), "html", null, true);
echo "\" class=\"button\"><i class=\"fa fa-database\"></i> ";
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.BACKUP"), "html", null, true);
echo "</button>
</div>
</div>
</div>
";
// line 31
$this->loadTemplate("partials/modal-update-packages.html.twig", "partials/dashboard-maintenance.html.twig", 31)->display(array_merge($context, ["type" => "plugin"]));
// line 32
echo "
";
}
}
public function getTemplateName()
{
return "partials/dashboard-maintenance.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 84 => 32, 82 => 31, 72 => 26, 68 => 25, 60 => 20, 53 => 18, 47 => 15, 40 => 11, 34 => 8, 29 => 6, 24 => 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("{% if authorize(['admin.maintenance', 'admin.super']) %}
{% set backup = admin.lastBackup() %}
<div id=\"updates\" class=\"dashboard-item dashboard-left\">
<div class=\"secondary-accent default-box-shadow\">
<h1>{{ \"PLUGIN_ADMIN.MAINTENANCE\"|tu }}</h1>
<div class=\"admin-update-charts\">
<div class=\"updates-chart\" data-chart-name=\"updates\" data-chart-type=\"pie\" data-chart-data=\"{{ {'series': [100, 0]}|json_encode|e('html_attr') }}\">
<div class=\"chart-wrapper\">
<div class=\"ct-chart chart-loader\"><i class=\"fa fa-refresh fa-spin\"></i></div>
<span class=\"numeric hidden\"><span>-</span><em>{{ \"PLUGIN_ADMIN.UPDATED\"|tu|lower }}</em></span>
</div>
<p class=\"js__updates-available-description\">&nbsp;</p>
</div>
<div class=\"backups-chart\" data-chart-name=\"backups\" data-chart-type=\"pie\" data-chart-data=\"{{ {'series': [backup.chart_fill, backup.chart_empty]}|json_encode|e('html_attr') }}\">
<div class=\"chart-wrapper\">
<div class=\"ct-chart chart-loader\"><i class=\"fa fa-refresh fa-spin\"></i></div>
<span class=\"numeric hidden\">{{ backup.days|raw }}<em>{{ \"PLUGIN_ADMIN.DAYS\"|tu|lower }}</em></span>
</div>
<p class=\"hidden\">{{ \"PLUGIN_ADMIN.LAST_BACKUP\"|tu }}</p>
</div>
</div>
<div class=\"flush-bottom button-bar\">
<a class=\"button hidden\" href=\"#\" data-update-packages data-remodal-target=\"update-packages\" data-plugin-action=\"start-packages-update\"><i class=\"fa fa-cloud-download\"></i> {{ \"PLUGIN_ADMIN.UPDATE\"|tu }}</a>
<button data-ajax=\"{{ uri.addNonce(base_url_relative ~ '/backup.json/task' ~ config.system.param_sep ~ 'backup', 'admin-form', 'admin-nonce') }}\" class=\"button\"><i class=\"fa fa-database\"></i> {{ \"PLUGIN_ADMIN.BACKUP\"|tu }}</button>
</div>
</div>
</div>
{% include 'partials/modal-update-packages.html.twig' with { type: 'plugin' } %}
{% endif %}
", "partials/dashboard-maintenance.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/themes/grav/templates/partials/dashboard-maintenance.html.twig");
}
}
<?php
/* @Page:/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/error/pages */
class __TwigTemplate_30bb5df5318967f0ae773a7d938041cca53fe54ea7f5608d0b8b1d9b6d6d18a2 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate("PLUGIN_ERROR.ERROR_MESSAGE");
echo "
";
}
public function getTemplateName()
{
return "@Page:/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/error/pages";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 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("{{ 'PLUGIN_ERROR.ERROR_MESSAGE'|t }}
", "@Page:/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/error/pages", "");
}
}
<?php
/* partials/metadata.html.twig */
class __TwigTemplate_9f52b450b9de74a60bd713137a2fd769917447ab173ab494b84c1a25da6a07fb extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["page"] ?? null), "metadata", []));
foreach ($context['_seq'] as $context["_key"] => $context["meta"]) {
// line 2
echo "<meta ";
if ($this->getAttribute($context["meta"], "name", [])) {
echo "name=\"";
echo $this->getAttribute($context["meta"], "name", []);
echo "\" ";
}
if ($this->getAttribute($context["meta"], "http_equiv", [])) {
echo "http-equiv=\"";
echo $this->getAttribute($context["meta"], "http_equiv", []);
echo "\" ";
}
if ($this->getAttribute($context["meta"], "charset", [])) {
echo "charset=\"";
echo $this->getAttribute($context["meta"], "charset", []);
echo "\" ";
}
if ($this->getAttribute($context["meta"], "property", [])) {
echo "property=\"";
echo $this->getAttribute($context["meta"], "property", []);
echo "\" ";
}
if ($this->getAttribute($context["meta"], "content", [])) {
echo "content=\"";
echo $this->getAttribute($context["meta"], "content", []);
echo "\" ";
}
echo "/>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['meta'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "partials/metadata.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 23 => 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("{% for meta in page.metadata %}
<meta {% if meta.name %}name=\"{{ meta.name }}\" {% endif %}{% if meta.http_equiv %}http-equiv=\"{{ meta.http_equiv }}\" {% endif %}{% if meta.charset %}charset=\"{{ meta.charset }}\" {% endif %}{% if meta.property %}property=\"{{ meta.property }}\" {% endif %}{% if meta.content %}content=\"{{ meta.content }}\" {% endif %}/> </