...
 
Commits (3)
<?php
return [
'@class' => 'Grav\\Common\\Config\\CompiledConfig',
'timestamp' => 1550066547,
'checksum' => 'f5adbfd0c0646a229ef46b1e4305374e',
'timestamp' => 1550141166,
'checksum' => 'f4b83bee787ca49787cdb10b873b106a',
'files' => [
'user/config' => [
'media' => [
'file' => 'user/config/media.yaml',
'modified' => 1549965213
],
'plugins/padtocss' => [
'file' => 'user/config/plugins/padtocss.yaml',
'modified' => 1550141166
],
'security' => [
'file' => 'user/config/security.yaml',
'modified' => 1549965213
......@@ -23,7 +27,7 @@ return [
],
'system' => [
'file' => 'user/config/system.yaml',
'modified' => 1550056300
'modified' => 1550085003
]
],
'system/config' => [
......@@ -55,7 +59,7 @@ return [
],
'plugins/padtocss' => [
'file' => 'user/plugins/padtocss/padtocss.yaml',
'modified' => 1550066501
'modified' => 1550128911
],
'plugins/form' => [
'file' => 'user/plugins/form/form.yaml',
......@@ -101,10 +105,12 @@ return [
],
'padtocss' => [
'enabled' => true,
'visible' => true,
'padUrl' => 'http://0.0.0.0:9001/p/live-css',
'pathToStylesheets' => 'assets/css/',
'text_var' => 'Custom Text added by the **Padtocss** plugin (disable plugin to remove)'
'padUrl' => 'http://127.0.0.1:9001/p/live-css',
'route' => '/ressources',
'pathToStylesheets' => '',
'posterRoute' => '/ressources',
'historyRoute' => '/historique',
'historyMode' => '1'
],
'form' => [
'enabled' => true,
......@@ -773,7 +779,7 @@ return [
'log' => true
],
'debugger' => [
'enabled' => true,
'enabled' => false,
'shutdown' => [
'close_connection' => 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/plugins/padtocss/blueprints.yaml',
'modified' => 1550066497,
'modified' => 1550141152,
'data' => [
'name' => 'Padtocss',
'version' => '0.1.0',
......@@ -34,18 +34,39 @@ return [
'type' => 'bool'
]
],
'text_var' => [
'type' => 'text',
'label' => 'PLUGIN_PADTOCSS.TEXT_VARIABLE',
'help' => 'PLUGIN_PADTOCSS.TEXT_VARIABLE_HELP'
],
'padUrl' => [
'type' => 'text',
'label' => 'Pad Url'
],
'pathToStylesheets' => [
'type' => 'text',
'label' => 'Pad Url'
'posterRoute' => [
'type' => 'pages',
'size' => 'medium',
'classes' => 'fancy',
'label' => 'Poster Page',
'show_all' => false,
'show_modular' => false,
'show_root' => false,
'help' => 'PLUGIN_ADMIN.HOME_PAGE_HELP'
],
'historyMode' => [
'type' => 'toggle',
'label' => 'History Mode ?',
'highlight' => 1,
'default' => 0,
'options' => [
1 => 'PLUGIN_ADMIN.ENABLED',
0 => 'PLUGIN_ADMIN.DISABLED'
]
],
'historyRoute' => [
'type' => 'pages',
'size' => 'medium',
'classes' => 'fancy',
'label' => 'History Page',
'show_all' => false,
'show_modular' => false,
'show_root' => false,
'help' => 'PLUGIN_ADMIN.HOME_PAGE_HELP'
]
]
]
......
<?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' => 1550136228,
'data' => [
'title' => 'Resources',
'[email protected]' => [
'type' => 'base',
'context' => 'blueprints://pages'
],
'form' => [
'validation' => 'loose',
'fields' => [
'tabs' => [
'type' => 'tabs',
'active' => 1,
'fields' => [
'advanced' => [
'fields' => [
'columns' => [
'fields' => [
'column2' => [
'fields' => [
'order_title' => [
'type' => 'hidden'
],
'ordering' => [
'type' => 'hidden',
'default' => 0,
'readonly' => true
],
'order' => [
'type' => 'hidden'
]
]
]
]
]
]
]
]
]
]
]
]
];
<?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/history.yaml',
'modified' => 1550136279,
'data' => [
'title' => 'History',
'[email protected]' => [
'type' => 'base',
'context' => 'blueprints://pages'
],
'form' => [
'validation' => 'loose',
'fields' => [
'tabs' => [
'type' => 'tabs',
'active' => 1,
'fields' => [
'advanced' => [
'fields' => [
'columns' => [
'fields' => [
'column2' => [
'fields' => [
'order_title' => [
'type' => 'hidden'
],
'ordering' => [
'type' => 'hidden',
'default' => 0,
'readonly' => true
],
'order' => [
'type' => 'hidden'
]
]
]
]
]
]
]
]
]
]
]
]
];
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/blueprints/config/media.yaml',
'modified' => 1549965213,
'data' => [
'title' => 'PLUGIN_ADMIN.MEDIA',
'form' => [
'validation' => 'loose',
'fields' => [
'types' => [
'name' => 'medias',
'type' => 'list',
'label' => 'PLUGIN_ADMIN.MEDIA_TYPES',
'style' => 'vertical',
'key' => 'extension',
'controls' => 'both',
'collapsed' => true,
'fields' => [
'.extension' => [
'type' => 'key',
'label' => 'PLUGIN_ADMIN.FILE_EXTENSION'
],
'.type' => [
'type' => 'text',
'label' => 'PLUGIN_ADMIN.TYPE'
],
'.thumb' => [
'type' => 'text',
'label' => 'PLUGIN_ADMIN.THUMB'
],
'.mime' => [
'type' => 'text',
'label' => 'PLUGIN_ADMIN.MIME_TYPE',
'validate' => [
'type' => 'lower'
]
],
'.image' => [
'type' => 'textarea',
'yaml' => true,
'label' => 'PLUGIN_ADMIN.IMAGE_OPTIONS',
'validate' => [
'type' => 'yaml'
]
]
]
]
]
]
]
];
......@@ -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' => 1550056300,
'modified' => 1550085003,
'data' => [
'absolute_urls' => false,
'param_sep' => ':',
......@@ -135,7 +135,7 @@ return [
'log' => true
],
'debugger' => [
'enabled' => true,
'enabled' => false,
'shutdown' => [
'close_connection' => true
],
......
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/pad-to-css/languages.yaml',
'modified' => 1550056403,
'data' => [
'en' => [
'PLUGIN_PAD_TO_CSS' => [
'TEXT_VARIABLE' => 'Text Variable',
'TEXT_VARIABLE_HELP' => 'Text to add to the top of a page'
]
]
]
];
<?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/context.yaml',
'modified' => 1550136238,
'data' => [
'title' => 'Context',
'[email protected]' => [
'type' => 'base',
'context' => 'blueprints://pages'
],
'form' => [
'fields' => [
'tabs' => [
'type' => 'tabs',
'active' => 3,
'fields' => [
'resource' => [
'fields' => [
'general' => [
'fields' => [
'columnsA' => [
'type' => 'columns',
'fields' => [
'columnA' => [
'type' => 'column',
'fields' => [
'header.town' => [
'type' => 'text',
'label' => 'Ville',
'style' => 'vertical'
],
'header.countryCode' => [
'type' => 'text',
'label' => 'Code Pays',
'style' => 'vertical'
],
'header.date' => [
'type' => 'date',
'label' => 'Date',
'style' => 'vertical'
]
]
],
'columnB' => [
'type' => 'column',
'fields' => [
'header.description' => [
'type' => 'textarea',
'label' => 'Description',
'style' => 'vertical'
]
]
]
]
]
]
]
]
],
'advanced' => [
'fields' => [
'columns' => [
'fields' => [
'column2' => [
'fields' => [
'order_title' => [
'type' => 'hidden'
],
'ordering' => [
'type' => 'hidden',
'default' => 0,
'readonly' => true
],
'order' => [
'type' => 'hidden'
]
]
]
]
]
]
]
]
]
]
]
]
];
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/pad-to-css/pad-to-css.yaml',
'modified' => 1550056500,
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/config/plugins/padtocss.yaml',
'modified' => 1550132410,
'data' => [
'enabled' => true,
'active' => true,
'text_var' => 'Custom Text added by the **Pad To Css** plugin (disable plugin to remove)'
]
];
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/pad-to-css/blueprints.yaml',
'modified' => 1550056403,
'data' => [
'name' => 'Pad To Css',
'version' => '0.1.0',
'description' => 'Allow getting content of an atherpad as stylesheet.',
'icon' => 'plug',
'author' => [
'name' => 'Luuse',
'email' => '[email protected]'
],
'homepage' => 'https://github.com/luuse/grav-plugin-pad-to-css',
'demo' => 'http://demo.yoursite.com',
'keywords' => 'grav, plugin, etc',
'bugs' => 'https://github.com/luuse/grav-plugin-pad-to-css/issues',
'docs' => 'https://github.com/luuse/grav-plugin-pad-to-css/blob/develop/README.md',
'license' => 'MIT',
'form' => [
'validation' => 'strict',
'fields' => [
'enabled' => [
'type' => 'toggle',
'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
'highlight' => 1,
'default' => 0,
'options' => [
1 => 'PLUGIN_ADMIN.ENABLED',
0 => 'PLUGIN_ADMIN.DISABLED'
],
'validate' => [
'type' => 'bool'
]
],
'text_var' => [
'type' => 'text',
'label' => 'PLUGIN_PAD_TO_CSS.TEXT_VARIABLE',
'help' => 'PLUGIN_PAD_TO_CSS.TEXT_VARIABLE_HELP'
]
]
]
]
];
......@@ -2,12 +2,8 @@
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/padtocss/padtocss.yaml',
'modified' => 1550066501,
'modified' => 1550128911,
'data' => [
'enabled' => true,
'visible' => true,
'padUrl' => 'http://0.0.0.0:9001/p/live-css',
'pathToStylesheets' => 'assets/css/',
'text_var' => 'Custom Text added by the **Padtocss** plugin (disable plugin to remove)'
]
];
......@@ -2,12 +2,8 @@
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'plugins://padtocss/padtocss.yaml',
'modified' => 1550066501,
'modified' => 1550128911,
'data' => [
'enabled' => true,
'visible' => true,
'padUrl' => 'http://0.0.0.0:9001/p/live-css',
'pathToStylesheets' => 'assets/css/',
'text_var' => 'Custom Text added by the **Padtocss** plugin (disable plugin to remove)'
]
];
<?php
return [
'@class' => 'Grav\\Common\\Config\\CompiledLanguages',
'timestamp' => 1550058730,
'timestamp' => 1550132428,
'checksum' => '5b1d6381d98c2acd7b0529a0f90a174a',
'files' => [
'system/languages' => [
......@@ -23243,6 +23243,6 @@ Path: `%2$s`
]
],
'checksum' => '5b1d6381d98c2acd7b0529a0f90a174a',
'timestamp' => 1550058730
'timestamp' => 1550132428
]
];
1550662491
a:2:{s:7:"content";s:91:"<p>Custom Text added by the <strong>Padtocss</strong> plugin (disable plugin to remove)</p>";s:12:"content_meta";N;}
\ No newline at end of file
1550730944
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
1550741878
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
1550744138
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
1550665219
a:2:{s:7:"content";s:91:"<p>Custom Text added by the <strong>Padtocss</strong> plugin (disable plugin to remove)</p>";s:12:"content_meta";N;}
\ No newline at end of file
1550666698
a:2:{s:7:"content";s:91:"<p>Custom Text added by the <strong>Padtocss</strong> plugin (disable plugin to remove)</p>";s:12:"content_meta";N;}
\ No newline at end of file
1550665086
a:2:{s:7:"content";s:141:"<p>Custom Text added by the <strong>Padtocss</strong> plugin (disable plugin to remove)</p>
<p>Woops. Looks like this page doesn't exist.</p>";s:12:"content_meta";N;}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<?php
/* partials/base.html.twig */
class __TwigTemplate_e2605bc4f884de1c2debcc97ac51a5dc521c94e7d8e947ad67852e4d274fdb63 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 19
echo "</head>
<body>
";
// line 22
$this->displayBlock('header', $context, $blocks);
// line 24
echo "
";
// line 25
$this->displayBlock('body', $context, $blocks);
// line 27
echo "
";
// line 28
$this->displayBlock('javascripts', $context, $blocks);
// line 31
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 " ";
$this->displayBlock('stylesheets', $context, $blocks);
// line 14
echo " ";
echo $this->getAttribute(($context["assets"] ?? null), "css", [], "method");
echo "
<style type=\"text/css\" id=\"style\">
";
// line 16
echo $this->env->getExtension('Grav\Plugin\PadTwigExtension')->padToCss();
echo "
</style>
";
}
// line 11
public function block_stylesheets($context, array $blocks = [])
{
// line 12
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addCss", [0 => "theme://assets/css/main.css", 1 => 100], "method");
// line 13
echo " ";
}
// line 22
public function block_header($context, array $blocks = [])
{
}
// line 25
public function block_body($context, array $blocks = [])
{
}
// line 28
public function block_javascripts($context, array $blocks = [])
{
// line 29
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addJs", [0 => "theme://assets/js/main.js", 1 => 100], "method");
}
public function getTemplateName()
{
return "partials/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 119 => 29, 116 => 28, 111 => 25, 106 => 22, 102 => 13, 99 => 12, 96 => 11, 89 => 16, 83 => 14, 80 => 11, 78 => 10, 68 => 7, 65 => 6, 62 => 5, 53 => 31, 51 => 28, 48 => 27, 46 => 25, 43 => 24, 41 => 22, 36 => 19, 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' %}
{% block stylesheets %}
{% do assets.addCss('theme://assets/css/main.css', 100) %}
{% endblock %}
{{ assets.css() }}
<style type=\"text/css\" id=\"style\">
{{ loadPad() }}
</style>
{% endblock head %}
</head>
<body>
{% block header %}
{% endblock %}
{% block body %}
{% endblock %}
{% block javascripts %}
{% do assets.addJs('theme://assets/js/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
/* error.html.twig */
class __TwigTemplate_c8a7bf6e4fa53bf5a3961dc9236be17828514031905691c50447e4c22ad98155 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
/* forms/fields/parents/parents.html.twig */
class __TwigTemplate_0c0efbc4abbe6b752eabcfbb77adab8c8d9c12dcf6f333ed7a4ad65d48704d2d extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("forms/fields/pages/pages.html.twig", "forms/fields/parents/parents.html.twig", 1);
$this->blocks = [
'input' => [$this, 'block_input'],
];
}
protected function doGetParent(array $context)
{
return "forms/fields/pages/pages.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_input($context, array $blocks = [])
{
// line 4
echo " ";
$context["last_page_route"] = $this->getAttribute($this->getAttribute(($context["admin"] ?? null), "page", []), "getLastPageRoute", []);
// line 5
echo " ";
$context["show_slug_val"] = true;
// line 6
echo " ";
$context["show_fullpath_val"] = false;
// line 7
echo " ";
$context["show_all_val"] = true;
// line 8
echo "
";
// line 9
$context["show_parents"] = $this->getAttribute(($context["config"] ?? null), "get", [0 => "plugins.admin.pages.show_parents"], "method");
// line 10
echo " ";
if ((($context["show_parents"] ?? null) == "folder")) {
// line 11
echo " ";
$context["show_slug_val"] = false;
// line 12
echo " ";
} elseif ((($context["show_parents"] ?? null) == "fullpath")) {
// line 13
echo " ";
$context["show_fullpath_val"] = true;
// line 14
echo " ";
}
// line 15
echo "
";
// line 16
$context["limit_levels_val"] = $this->getAttribute(($context["config"] ?? null), "get", [0 => "plugins.admin.pages.parents_levels"], "method");
// line 17
echo "
";
// line 18
$context["show_modular_val"] = $this->getAttribute(($context["config"] ?? null), "get", [0 => "plugins.admin.pages.show_modular"], "method");
// line 19
echo " ";
if ((($context["show_modular_val"] ?? null) == false)) {
// line 20
echo " ";
$context["show_all_val"] = false;
// line 21
echo " ";
}
// line 22
echo "
";
// line 23
$context["defaults"] = ["show_root" => true, "show_all" => ($context["show_all_val"] ?? null), "show_modular" => ($context["show_modular_val"] ?? null), "show_slug" => ($context["show_slug_val"] ?? null), "show_fullpath" => ($context["show_fullpath_val"] ?? null), "default" => ($context["last_page_route"] ?? null), "limit_levels" => ($context["limit_levels_val"] ?? null)];
// line 24
echo " ";
$context["field"] = twig_array_merge(($context["field"] ?? null), ($context["defaults"] ?? null));
// line 25
echo " ";
$this->displayParentBlock("input", $context, $blocks);
echo "
";
}
public function getTemplateName()
{
return "forms/fields/parents/parents.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 90 => 25, 87 => 24, 85 => 23, 82 => 22, 79 => 21, 76 => 20, 73 => 19, 71 => 18, 68 => 17, 66 => 16, 63 => 15, 60 => 14, 57 => 13, 54 => 12, 51 => 11, 48 => 10, 46 => 9, 43 => 8, 40 => 7, 37 => 6, 34 => 5, 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 \"forms/fields/pages/pages.html.twig\" %}
{% block input %}
{% set last_page_route = admin.page.getLastPageRoute %}
{% set show_slug_val = true %}
{% set show_fullpath_val = false %}
{% set show_all_val = true %}
{% set show_parents = config.get('plugins.admin.pages.show_parents') %}
{% if show_parents == 'folder' %}
{% set show_slug_val = false %}
{% elseif show_parents == 'fullpath' %}
{% set show_fullpath_val = true %}
{% endif %}
{% set limit_levels_val = config.get('plugins.admin.pages.parents_levels') %}
{% set show_modular_val = config.get('plugins.admin.pages.show_modular') %}
{% if show_modular_val == false %}
{% set show_all_val = false %}
{% endif %}
{% set defaults = {show_root:true, show_all:show_all_val, show_modular:show_modular_val, show_slug:show_slug_val, show_fullpath:show_fullpath_val, default:last_page_route, limit_levels:limit_levels_val} %}
{% set field = field|merge(defaults) %}
{{ parent() }}
{% endblock %}
", "forms/fields/parents/parents.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/themes/grav/templates/forms/fields/parents/parents.html.twig");
}
}
<?php
/* partials/javascripts.html.twig */
class __TwigTemplate_d238a6d2ff9aa20b369d3678ecb3a4fc3c6b4681303fed9ddc1fcefbf979ddf3 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
$this->getAttribute(($context["assets"] ?? null), "add", [0 => "jquery", 1 => 101], "method");
// line 2
if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->authorize([0 => "admin.login", 1 => "admin.super"])) {
// line 3
$this->getAttribute(($context["assets"] ?? null), "addJs", [0 => (($context["theme_url"] ?? null) . "/js/vendor.min.js"), 1 => ["loading" => "defer"]], "method");
// line 4
$this->getAttribute(($context["assets"] ?? null), "addJs", [0 => (($context["theme_url"] ?? null) . "/js/admin.min.js"), 1 => ["loading" => "defer"]], "method");
// line 5
echo "
";
// line 6
if ((($this->getAttribute(($context["browser"] ?? null), "getBrowser", []) == "msie") || ($this->getAttribute(($context["browser"] ?? null), "getBrowser", []) == "edge"))) {
// line 7
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addJs", [0 => (($context["theme_url"] ?? null) . "/js/form-attr.polyfill.js")], "method");
}
// line 9
echo "
";
// line 10
try {
$this->loadTemplate("partials/javascripts-extra.html.twig", "partials/javascripts.html.twig", 10)->display($context);
} catch (Twig_Error_Loader $e) {
// ignore missing template
}
}
}
public function getTemplateName()
{
return "partials/javascripts.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 39 => 10, 36 => 9, 32 => 7, 30 => 6, 27 => 5, 25 => 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("{% do assets.add('jquery',101) %}
{% if authorize(['admin.login', 'admin.super']) %}
{% do assets.addJs(theme_url~'/js/vendor.min.js', { 'loading':'defer' }) %}
{% do assets.addJs(theme_url~'/js/admin.min.js' , { 'loading':'defer' }) %}
{% if browser.getBrowser == 'msie' or browser.getBrowser == 'edge' %}
{% do assets.addJs(theme_url~'/js/form-attr.polyfill.js') %}
{% endif %}
{% include 'partials/javascripts-extra.html.twig' ignore missing %}
{% endif %}
", "partials/javascripts.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/themes/grav/templates/partials/javascripts.html.twig");
}
}