ready
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\Config\\CompiledBlueprints',
|
||||
'timestamp' => 1527251079,
|
||||
'timestamp' => 1527510279,
|
||||
'checksum' => '21668c07f0541dde70186be4519c69eb',
|
||||
'files' => [
|
||||
'user/plugins/admin/blueprints/config' => [
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\Config\\CompiledConfig',
|
||||
'timestamp' => 1527502798,
|
||||
'checksum' => 'c5e64aaaa7cb36dfca003bad5ef2d530',
|
||||
'timestamp' => 1527510262,
|
||||
'checksum' => '966a75fa838dc63243fdf4d7f492641d',
|
||||
'files' => [
|
||||
'user/config' => [
|
||||
'media' => [
|
||||
@@ -27,7 +27,7 @@ return [
|
||||
],
|
||||
'system' => [
|
||||
'file' => 'user/config/system.yaml',
|
||||
'modified' => 1527502798
|
||||
'modified' => 1527510260
|
||||
]
|
||||
],
|
||||
'system/config' => [
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/plugins/admin/blueprints/admin/pages/new_folder.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADD_FOLDER'
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'help' => 'PLUGIN_ADMIN.FOLDER_NAME_HELP',
|
||||
'validate' => [
|
||||
'rule' => 'slug',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT_PAGE',
|
||||
'classes' => 'fancy',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/plugins/admin/blueprints/admin/pages/modular_new.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADD_MODULAR_CONTENT'
|
||||
],
|
||||
'title' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_TITLE',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'validate' => [
|
||||
'rule' => 'slug',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE',
|
||||
'classes' => 'fancy',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'name' => [
|
||||
'type' => 'select',
|
||||
'classes' => 'fancy',
|
||||
'label' => 'PLUGIN_ADMIN.MODULAR_TEMPLATE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_FILE_HELP',
|
||||
'default' => 'default',
|
||||
'data-options@' => '\\Grav\\Plugin\\AdminPlugin::pagesModularTypes',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'modular' => [
|
||||
'type' => 'hidden',
|
||||
'default' => 1,
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,48 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/system/blueprints/pages/modular.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'title' => 'PLUGIN_ADMIN.MODULAR',
|
||||
'extends@' => 'default',
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'type' => 'tabs',
|
||||
'active' => 1,
|
||||
'fields' => [
|
||||
'content' => [
|
||||
'fields' => [
|
||||
'modular_title' => [
|
||||
'type' => 'spacer',
|
||||
'title' => 'PLUGIN_ADMIN.MODULAR_SETUP'
|
||||
],
|
||||
'header.content.items' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.ITEMS',
|
||||
'default' => '@self.modular',
|
||||
'size' => 'medium'
|
||||
],
|
||||
'header.content.order.by' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.ORDER_BY',
|
||||
'placeholder' => 'date',
|
||||
'help' => NULL,
|
||||
'size' => 'small'
|
||||
],
|
||||
'header.content.order.dir' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.ORDER',
|
||||
'help' => '"desc" or "asc" are valid values',
|
||||
'placeholder' => 'desc',
|
||||
'size' => 'small'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,33 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/themes/quark/blueprints/default.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'extends@' => 'default',
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'fields' => [
|
||||
'advanced' => [
|
||||
'fields' => [
|
||||
'columns' => [
|
||||
'fields' => [
|
||||
'column1' => [
|
||||
'fields' => [
|
||||
'header.body_classes' => [
|
||||
'markdown' => true,
|
||||
'description' => 'Available classes in Quark Theme (space separated):<br />`header-fixed`, `header-animated`, `header-dark`, `header-transparent`, `sticky-footer`'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,117 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/themes/quark/blueprints/blog.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'extends@' => 'default',
|
||||
'child_type' => 'item',
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-z][a-z0-9_\\-]+',
|
||||
'min' => 2,
|
||||
'max' => 80
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'type' => 'tabs',
|
||||
'active' => 1,
|
||||
'fields' => [
|
||||
'advanced' => [
|
||||
'fields' => [
|
||||
'overrides' => [
|
||||
'fields' => [
|
||||
'header.child_type' => [
|
||||
'default' => 'item'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
'blog' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'Blog Config',
|
||||
'fields' => [
|
||||
'content_title' => [
|
||||
'type' => 'spacer',
|
||||
'title' => 'Content Definition'
|
||||
],
|
||||
'header.content.items' => [
|
||||
'type' => 'textarea',
|
||||
'yaml' => true,
|
||||
'label' => 'Items',
|
||||
'default' => '@self.children',
|
||||
'validate' => [
|
||||
'type' => 'yaml'
|
||||
]
|
||||
],
|
||||
'header.content.limit' => [
|
||||
'type' => 'text',
|
||||
'label' => 'Max Item Count',
|
||||
'default' => 5,
|
||||
'validate' => [
|
||||
'required' => true,
|
||||
'type' => 'int',
|
||||
'min' => 1
|
||||
]
|
||||
],
|
||||
'header.content.order.by' => [
|
||||
'type' => 'select',
|
||||
'label' => 'Order By',
|
||||
'default' => 'date',
|
||||
'options' => [
|
||||
'folder' => 'Folder',
|
||||
'title' => 'Title',
|
||||
'date' => 'Date',
|
||||
'default' => 'Default'
|
||||
]
|
||||
],
|
||||
'header.content.order.dir' => [
|
||||
'type' => 'select',
|
||||
'label' => 'Order',
|
||||
'default' => 'desc',
|
||||
'options' => [
|
||||
'asc' => 'Ascending',
|
||||
'desc' => 'Descending'
|
||||
]
|
||||
],
|
||||
'header.content.pagination' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Pagination',
|
||||
'highlight' => 1,
|
||||
'default' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.content.url_taxonomy_filters' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'URL Taxonomy Filters',
|
||||
'highlight' => 1,
|
||||
'default' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
]
|
||||
],
|
||||
'import@' => [
|
||||
'type' => 'partials/blog-bits',
|
||||
'context' => 'blueprints://pages'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,139 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/system/blueprints/user/account.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'title' => 'Account',
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'info' => [
|
||||
'type' => 'userinfo',
|
||||
'size' => 'large'
|
||||
],
|
||||
'avatar' => [
|
||||
'type' => 'file',
|
||||
'size' => 'large',
|
||||
'destination' => 'user://accounts/avatars',
|
||||
'multiple' => false,
|
||||
'random_name' => true
|
||||
],
|
||||
'content' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ACCOUNT',
|
||||
'underline' => true
|
||||
],
|
||||
'username' => [
|
||||
'type' => 'text',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.USERNAME',
|
||||
'disabled' => true,
|
||||
'readonly' => true
|
||||
],
|
||||
'email' => [
|
||||
'type' => 'email',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.EMAIL',
|
||||
'validate' => [
|
||||
'type' => 'email',
|
||||
'message' => 'PLUGIN_ADMIN.EMAIL_VALIDATION_MESSAGE',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'password' => [
|
||||
'type' => 'password',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.PASSWORD',
|
||||
'autocomplete' => 'new-password',
|
||||
'validate' => [
|
||||
'required' => false,
|
||||
'message' => 'PLUGIN_ADMIN.PASSWORD_VALIDATION_MESSAGE',
|
||||
'config-pattern@' => 'system.pwd_regex'
|
||||
]
|
||||
],
|
||||
'fullname' => [
|
||||
'type' => 'text',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.FULL_NAME',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'title' => [
|
||||
'type' => 'text',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.TITLE'
|
||||
],
|
||||
'language' => [
|
||||
'type' => 'select',
|
||||
'label' => 'PLUGIN_ADMIN.LANGUAGE',
|
||||
'size' => 'medium',
|
||||
'classes' => 'fancy',
|
||||
'data-options@' => '\\Grav\\Plugin\\Admin\\Admin::adminLanguages',
|
||||
'default' => 'en',
|
||||
'help' => 'PLUGIN_ADMIN.LANGUAGE_HELP'
|
||||
],
|
||||
'twofa_check' => [
|
||||
'type' => 'conditional',
|
||||
'condition' => 'config.plugins.admin.twofa_enabled',
|
||||
'fields' => [
|
||||
'twofa' => [
|
||||
'title' => 'PLUGIN_ADMIN.2FA_TITLE',
|
||||
'type' => 'section',
|
||||
'underline' => true
|
||||
],
|
||||
'twofa_enabled' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'PLUGIN_ADMIN.2FA_ENABLED',
|
||||
'classes' => 'twofa-toggle',
|
||||
'highlight' => 1,
|
||||
'default' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'twofa_secret' => [
|
||||
'type' => '2fa_secret',
|
||||
'outerclasses' => 'twofa-secret',
|
||||
'label' => 'PLUGIN_ADMIN.2FA_SECRET',
|
||||
'sublabel' => 'PLUGIN_ADMIN.2FA_SECRET_HELP'
|
||||
]
|
||||
]
|
||||
],
|
||||
'security' => [
|
||||
'title' => 'PLUGIN_ADMIN.ACCESS_LEVELS',
|
||||
'type' => 'section',
|
||||
'security' => 'admin.super',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'groups' => [
|
||||
'type' => 'select',
|
||||
'multiple' => true,
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.GROUPS',
|
||||
'data-options@' => '\\Grav\\Common\\User\\Group::groupNames',
|
||||
'classes' => 'fancy',
|
||||
'help' => 'PLUGIN_ADMIN.GROUPS_HELP',
|
||||
'validate' => [
|
||||
'type' => 'commalist'
|
||||
]
|
||||
],
|
||||
'access' => [
|
||||
'type' => 'permissions',
|
||||
'label' => 'PLUGIN_ADMIN.PERMISSIONS',
|
||||
'ignore_empty' => true,
|
||||
'validate' => [
|
||||
'type' => 'array'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -2,14 +2,17 @@
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/config/system.yaml',
|
||||
'modified' => 1527093463,
|
||||
'modified' => 1527510260,
|
||||
'data' => [
|
||||
'absolute_urls' => false,
|
||||
'timezone' => '',
|
||||
'default_locale' => NULL,
|
||||
'param_sep' => ':',
|
||||
'wrapped_site' => false,
|
||||
'reverse_proxy_setup' => false,
|
||||
'force_ssl' => false,
|
||||
'force_lowercase_urls' => true,
|
||||
'custom_base_url' => '',
|
||||
'username_regex' => '^[a-z0-9_-]{3,16}$',
|
||||
'pwd_regex' => '(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,}',
|
||||
'intl_enabled' => true,
|
||||
@@ -31,7 +34,7 @@ return [
|
||||
'hide_in_urls' => false
|
||||
],
|
||||
'pages' => [
|
||||
'theme' => 'quark',
|
||||
'theme' => 'anissabensalah',
|
||||
'order' => [
|
||||
'by' => 'default',
|
||||
'dir' => 'asc'
|
||||
@@ -40,6 +43,7 @@ return [
|
||||
'count' => 20
|
||||
],
|
||||
'dateformat' => [
|
||||
'default' => NULL,
|
||||
'short' => 'jS M Y',
|
||||
'long' => 'F jS \\a\\t g:ia'
|
||||
],
|
||||
@@ -73,7 +77,9 @@ return [
|
||||
5 => 'rss',
|
||||
6 => 'atom'
|
||||
],
|
||||
'append_url_extension' => '',
|
||||
'expires' => 604800,
|
||||
'cache_control' => NULL,
|
||||
'last_modified' => false,
|
||||
'etag' => false,
|
||||
'vary_accept_encoding' => false,
|
||||
@@ -108,7 +114,10 @@ return [
|
||||
'cli_compatibility' => false,
|
||||
'lifetime' => 604800,
|
||||
'gzip' => false,
|
||||
'allow_webserver_gzip' => false
|
||||
'allow_webserver_gzip' => false,
|
||||
'redis' => [
|
||||
'socket' => false
|
||||
]
|
||||
],
|
||||
'twig' => [
|
||||
'cache' => false,
|
||||
@@ -155,6 +164,12 @@ return [
|
||||
],
|
||||
'media' => [
|
||||
'enable_media_timestamp' => false,
|
||||
'unsupported_inline_types' => [
|
||||
|
||||
],
|
||||
'allowed_fallback_types' => [
|
||||
|
||||
],
|
||||
'auto_metadata_exif' => false,
|
||||
'upload_limit' => 2097152
|
||||
],
|
||||
@@ -165,10 +180,12 @@ return [
|
||||
'name' => 'grav-site',
|
||||
'secure' => false,
|
||||
'httponly' => true,
|
||||
'split' => true
|
||||
'split' => true,
|
||||
'path' => NULL
|
||||
],
|
||||
'gpm' => [
|
||||
'releases' => 'stable',
|
||||
'proxy_url' => NULL,
|
||||
'method' => 'auto',
|
||||
'verify_peer' => true,
|
||||
'official_gpm_only' => true
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/data/licenses.yaml',
|
||||
'modified' => 1527104661,
|
||||
'data' => [
|
||||
|
||||
]
|
||||
];
|
||||
@@ -1,407 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/system/blueprints/pages/default.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'title' => 'PLUGIN_ADMIN.DEFAULT',
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'type' => 'tabs',
|
||||
'active' => 1,
|
||||
'fields' => [
|
||||
'content' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'PLUGIN_ADMIN.CONTENT',
|
||||
'fields' => [
|
||||
'header.title' => [
|
||||
'type' => 'text',
|
||||
'autofocus' => true,
|
||||
'style' => 'vertical',
|
||||
'label' => 'PLUGIN_ADMIN.TITLE'
|
||||
],
|
||||
'content' => [
|
||||
'type' => 'markdown',
|
||||
'validate' => [
|
||||
'type' => 'textarea'
|
||||
]
|
||||
],
|
||||
'header.media_order' => [
|
||||
'type' => 'pagemedia',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_MEDIA'
|
||||
]
|
||||
]
|
||||
],
|
||||
'options' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'PLUGIN_ADMIN.OPTIONS',
|
||||
'fields' => [
|
||||
'publishing' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.PUBLISHING',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.published' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.PUBLISHED',
|
||||
'help' => 'PLUGIN_ADMIN.PUBLISHED_HELP',
|
||||
'highlight' => 1,
|
||||
'size' => 'medium',
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.date' => [
|
||||
'type' => 'datetime',
|
||||
'label' => 'PLUGIN_ADMIN.DATE',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.DATE_HELP'
|
||||
],
|
||||
'header.publish_date' => [
|
||||
'type' => 'datetime',
|
||||
'label' => 'PLUGIN_ADMIN.PUBLISHED_DATE',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.PUBLISHED_DATE_HELP'
|
||||
],
|
||||
'header.unpublish_date' => [
|
||||
'type' => 'datetime',
|
||||
'label' => 'PLUGIN_ADMIN.UNPUBLISHED_DATE',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.UNPUBLISHED_DATE_HELP'
|
||||
],
|
||||
'header.metadata' => [
|
||||
'toggleable' => true,
|
||||
'type' => 'array',
|
||||
'label' => 'PLUGIN_ADMIN.METADATA',
|
||||
'help' => 'PLUGIN_ADMIN.METADATA_HELP',
|
||||
'placeholder_key' => 'PLUGIN_ADMIN.METADATA_KEY',
|
||||
'placeholder_value' => 'PLUGIN_ADMIN.METADATA_VALUE'
|
||||
]
|
||||
]
|
||||
],
|
||||
'taxonomies' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.TAXONOMIES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.taxonomy' => [
|
||||
'type' => 'taxonomy',
|
||||
'label' => 'PLUGIN_ADMIN.TAXONOMY',
|
||||
'multiple' => true,
|
||||
'validate' => [
|
||||
'type' => 'array'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
'advanced' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'PLUGIN_ADMIN.ADVANCED',
|
||||
'fields' => [
|
||||
'columns' => [
|
||||
'type' => 'columns',
|
||||
'fields' => [
|
||||
'column1' => [
|
||||
'type' => 'column',
|
||||
'fields' => [
|
||||
'settings' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.SETTINGS',
|
||||
'underline' => true
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'validate' => [
|
||||
'rule' => 'slug'
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT',
|
||||
'classes' => 'fancy'
|
||||
],
|
||||
'name' => [
|
||||
'type' => 'select',
|
||||
'classes' => 'fancy',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_FILE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_FILE_HELP',
|
||||
'default' => 'default',
|
||||
'data-options@' => '\\Grav\\Common\\Page\\Pages::pageTypes'
|
||||
],
|
||||
'header.body_classes' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.BODY_CLASSES'
|
||||
]
|
||||
]
|
||||
],
|
||||
'column2' => [
|
||||
'type' => 'column',
|
||||
'fields' => [
|
||||
'order_title' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ORDERING',
|
||||
'underline' => true
|
||||
],
|
||||
'ordering' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX',
|
||||
'help' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'order' => [
|
||||
'type' => 'order',
|
||||
'label' => 'PLUGIN_ADMIN.SORTABLE_PAGES',
|
||||
'sitemap' => NULL
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
'overrides' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.OVERRIDES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.dateformat' => [
|
||||
'toggleable' => true,
|
||||
'type' => 'select',
|
||||
'size' => 'medium',
|
||||
'selectize' => [
|
||||
'create' => true
|
||||
],
|
||||
'label' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT',
|
||||
'help' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_HELP',
|
||||
'placeholder' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_PLACEHOLDER',
|
||||
'data-options@' => '\\Grav\\Common\\Utils::dateFormats',
|
||||
'validate' => [
|
||||
'type' => 'string'
|
||||
]
|
||||
],
|
||||
'header.menu' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.MENU',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.MENU_HELP'
|
||||
],
|
||||
'header.slug' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.SLUG',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.SLUG_HELP',
|
||||
'validate' => [
|
||||
'message' => 'PLUGIN_ADMIN.SLUG_VALIDATE_MESSAGE',
|
||||
'rule' => 'slug'
|
||||
]
|
||||
],
|
||||
'header.redirect' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.REDIRECT',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.REDIRECT_HELP'
|
||||
],
|
||||
'header.process' => [
|
||||
'type' => 'checkboxes',
|
||||
'label' => 'PLUGIN_ADMIN.PROCESS',
|
||||
'toggleable' => true,
|
||||
'config-default@' => 'system.pages.process',
|
||||
'default' => [
|
||||
'markdown' => true,
|
||||
'twig' => false
|
||||
],
|
||||
'options' => [
|
||||
'markdown' => 'Markdown',
|
||||
'twig' => 'Twig'
|
||||
],
|
||||
'use' => 'keys'
|
||||
],
|
||||
'header.twig_first' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.TWIG_FIRST',
|
||||
'help' => 'PLUGIN_ADMIN.TWIG_FIRST_HELP',
|
||||
'highlight' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.never_cache_twig' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.NEVER_CACHE_TWIG',
|
||||
'help' => 'PLUGIN_ADMIN.NEVER_CACHE_TWIG_HELP',
|
||||
'highlight' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.child_type' => [
|
||||
'type' => 'select',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.DEFAULT_CHILD_TYPE',
|
||||
'default' => 'default',
|
||||
'placeholder' => 'PLUGIN_ADMIN.USE_GLOBAL',
|
||||
'data-options@' => '\\Grav\\Common\\Page\\Pages::types'
|
||||
],
|
||||
'header.routable' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.ROUTABLE',
|
||||
'help' => 'PLUGIN_ADMIN.ROUTABLE_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.cache_enable' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.CACHING',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.visible' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.VISIBLE',
|
||||
'help' => 'PLUGIN_ADMIN.VISIBLE_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.debugger' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.DEBUGGER',
|
||||
'help' => 'PLUGIN_ADMIN.DEBUGGER_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.template' => [
|
||||
'type' => 'text',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.DISPLAY_TEMPLATE'
|
||||
],
|
||||
'header.append_url_extension' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.APPEND_URL_EXT',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.APPEND_URL_EXT_HELP'
|
||||
]
|
||||
]
|
||||
],
|
||||
'routes_only' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ROUTE_OVERRIDES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.routes.default' => [
|
||||
'type' => 'text',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.ROUTE_DEFAULT'
|
||||
],
|
||||
'header.routes.canonical' => [
|
||||
'type' => 'text',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.ROUTE_CANONICAL'
|
||||
],
|
||||
'header.routes.aliases' => [
|
||||
'type' => 'array',
|
||||
'toggleable' => true,
|
||||
'value_only' => true,
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.ROUTE_ALIASES'
|
||||
]
|
||||
]
|
||||
],
|
||||
'admin_only' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADMIN_SPECIFIC_OVERRIDES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.admin.children_display_order' => [
|
||||
'type' => 'select',
|
||||
'label' => 'PLUGIN_ADMIN.ADMIN_CHILDREN_DISPLAY_ORDER',
|
||||
'help' => 'PLUGIN_ADMIN.ADMIN_CHILDREN_DISPLAY_ORDER_HELP',
|
||||
'toggleable' => true,
|
||||
'classes' => 'fancy',
|
||||
'default' => 'collection',
|
||||
'options' => [
|
||||
'default' => 'Ordered by Folder name (default)',
|
||||
'collection' => 'Ordered by Collection definition'
|
||||
]
|
||||
],
|
||||
'header.order_by' => [
|
||||
'type' => 'hidden'
|
||||
],
|
||||
'header.order_manual' => [
|
||||
'type' => 'hidden',
|
||||
'validate' => [
|
||||
'type' => 'commalist'
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/accounts/admin.yaml',
|
||||
'modified' => 1527087473,
|
||||
'data' => [
|
||||
'email' => 'kevin@figureslibres.io',
|
||||
'fullname' => 'Kevin Tessier',
|
||||
'title' => 'Administrator',
|
||||
'state' => 'enabled',
|
||||
'access' => [
|
||||
'admin' => [
|
||||
'login' => true,
|
||||
'super' => true
|
||||
],
|
||||
'site' => [
|
||||
'login' => true
|
||||
]
|
||||
],
|
||||
'hashed_password' => '$2y$10$RCP2WDnZ7pI7kmo8dy5mKu6jTiKoaCNGdvupC1lLqo6WVCuna4WxC'
|
||||
]
|
||||
];
|
||||
@@ -1,124 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/plugins/admin/blueprints/admin/pages/modular_raw.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'type' => 'tabs',
|
||||
'active' => 1,
|
||||
'fields' => [
|
||||
'content' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'PLUGIN_ADMIN.CONTENT',
|
||||
'fields' => [
|
||||
'frontmatter' => [
|
||||
'classes' => 'frontmatter',
|
||||
'type' => 'editor',
|
||||
'label' => 'PLUGIN_ADMIN.FRONTMATTER',
|
||||
'autofocus' => true,
|
||||
'codemirror' => [
|
||||
'mode' => 'yaml',
|
||||
'indentUnit' => 4,
|
||||
'autofocus' => true,
|
||||
'indentWithTabs' => false,
|
||||
'lineNumbers' => true,
|
||||
'styleActiveLine' => true,
|
||||
'gutters' => [
|
||||
0 => 'CodeMirror-lint-markers'
|
||||
],
|
||||
'lint' => true
|
||||
]
|
||||
],
|
||||
'content' => [
|
||||
'type' => 'markdown'
|
||||
],
|
||||
'header.media_order' => [
|
||||
'type' => 'pagemedia',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_MEDIA'
|
||||
]
|
||||
]
|
||||
],
|
||||
'options' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'PLUGIN_ADMIN.OPTIONS',
|
||||
'fields' => [
|
||||
'columns' => [
|
||||
'type' => 'columns',
|
||||
'fields' => [
|
||||
'column1' => [
|
||||
'type' => 'column',
|
||||
'fields' => [
|
||||
'ordering' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX',
|
||||
'help' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FILENAME',
|
||||
'validate' => [
|
||||
'rule' => 'slug',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT',
|
||||
'classes' => 'fancy',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'name' => [
|
||||
'type' => 'select',
|
||||
'classes' => 'fancy',
|
||||
'label' => 'PLUGIN_ADMIN.MODULAR_TEMPLATE',
|
||||
'default' => 'default',
|
||||
'data-options@' => '\\Grav\\Plugin\\AdminPlugin::pagesModularTypes',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
'column2' => [
|
||||
'type' => 'column',
|
||||
'fields' => [
|
||||
'order' => [
|
||||
'type' => 'order',
|
||||
'label' => 'PLUGIN_ADMIN.ORDERING'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,35 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/themes/quark/blueprints/modular/text.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'title' => 'Text',
|
||||
'@extends' => 'default',
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'fields' => [
|
||||
'content' => [
|
||||
'fields' => [
|
||||
'header.media_order' => [
|
||||
'label' => 'Page Media (first one will be displayed next to your content)'
|
||||
],
|
||||
'header.image_align' => [
|
||||
'type' => 'select',
|
||||
'label' => 'Image position',
|
||||
'classes' => 'fancy',
|
||||
'default' => 'left',
|
||||
'options' => [
|
||||
'left' => 'Left',
|
||||
'right' => 'Right'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,18 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/plugins/admin/blueprints/admin/pages/move.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT',
|
||||
'classes' => 'fancy'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,79 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/themes/quark/blueprints/partials/blog-bits.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'hero_title' => [
|
||||
'type' => 'spacer',
|
||||
'title' => 'Hero Section'
|
||||
],
|
||||
'header.hero_classes' => [
|
||||
'type' => 'text',
|
||||
'label' => 'Hero Classes',
|
||||
'markdown' => true,
|
||||
'description' => 'There are several Hero class options that can be listed here (space separated):<br />`text-light`, `text-dark`, `title-h1h2`, `parallax`, `overlay-dark-gradient`, `overlay-light-gradient`, `overlay-dark`, `overlay-light`, `hero-fullscreen`, `hero-large`, `hero-medium`, `hero-small`, `hero-tiny`<br />Please consult the [Quark documentation](https://github.com/getgrav/grav-theme-quark#hero-options) for more details.'
|
||||
],
|
||||
'header.hero_image' => [
|
||||
'type' => 'filepicker',
|
||||
'label' => 'Hero Image',
|
||||
'preview_images' => true,
|
||||
'description' => 'If not specified, this defaults to the first image found in the page\'s folder'
|
||||
],
|
||||
'toggles_title' => [
|
||||
'type' => 'spacer',
|
||||
'title' => 'Configuration'
|
||||
],
|
||||
'header.blog_url' => [
|
||||
'type' => 'text',
|
||||
'label' => 'Blog Route',
|
||||
'help' => 'The route to this main blog page that contains this configuration',
|
||||
'default' => '/blog',
|
||||
'placeholder' => '/blog',
|
||||
'size' => 'medium'
|
||||
],
|
||||
'header.show_sidebar' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Show Sidebar',
|
||||
'highlight' => 1,
|
||||
'default' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.show_breadcrumbs' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Show Breadcrumbs',
|
||||
'highlight' => 1,
|
||||
'default' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.show_pagination' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Show Pagination',
|
||||
'highlight' => 1,
|
||||
'default' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,79 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/plugins/admin/blueprints/admin/pages/new.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADD_PAGE'
|
||||
],
|
||||
'title' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_TITLE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_TITLE_HELP',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'help' => 'PLUGIN_ADMIN.FOLDER_NAME_HELP',
|
||||
'validate' => [
|
||||
'rule' => 'slug',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT_PAGE',
|
||||
'classes' => 'fancy',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'name' => [
|
||||
'type' => 'select',
|
||||
'classes' => 'fancy',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_FILE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_FILE_HELP',
|
||||
'data-options@' => '\\Grav\\Plugin\\AdminPlugin::pagesTypes',
|
||||
'data-default@' => '\\Grav\\Plugin\\Admin\\Admin::getLastPageName',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'visible' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'PLUGIN_ADMIN.VISIBLE',
|
||||
'help' => 'PLUGIN_ADMIN.VISIBLE_HELP',
|
||||
'highlight' => '',
|
||||
'default' => '',
|
||||
'options' => [
|
||||
'' => 'Auto',
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,370 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/themes/quark/languages.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'en' => [
|
||||
'TRANSLATION_TEST' => 'Quark!',
|
||||
'BLOG' => [
|
||||
'ITEM' => [
|
||||
'CONTINUE_READING' => 'Continue reading...',
|
||||
'NEXT_POST' => 'Next Post',
|
||||
'PREV_POST' => 'Previous Post'
|
||||
]
|
||||
],
|
||||
'SHOP' => [
|
||||
'ITEM' => [
|
||||
'BACK' => 'Back',
|
||||
'NEXT_ITEM' => 'Next Item',
|
||||
'PREV_ITEM' => 'Previous Item'
|
||||
]
|
||||
],
|
||||
'SIDEBAR' => [
|
||||
'SIMPLE_SEARCH' => [
|
||||
'HEADLINE' => 'Search'
|
||||
],
|
||||
'RELATED_POSTS' => [
|
||||
'HEADLINE' => 'Related Posts'
|
||||
],
|
||||
'RANDOM_ARTICLE' => [
|
||||
'HEADLINE' => 'Random Article',
|
||||
'FEELING_LUCKY' => 'I\'m Feeling Lucky!'
|
||||
],
|
||||
'SOME_TEXT_WIDGET' => [
|
||||
'HEADLINE' => 'Some Text Widget'
|
||||
],
|
||||
'POPULAR_TAGS' => [
|
||||
'HEADLINE' => 'Popular Tags'
|
||||
],
|
||||
'ARCHIVES' => [
|
||||
'HEADLINE' => 'Archives'
|
||||
],
|
||||
'SYNDICATE' => [
|
||||
'HEADLINE' => 'Syndicate'
|
||||
]
|
||||
],
|
||||
'FORM_DATA' => [
|
||||
'SUMMARY' => 'Here is the summary of what you wrote to us:'
|
||||
],
|
||||
'ERROR' => 'Error'
|
||||
],
|
||||
'de' => [
|
||||
'TRANSLATION_TEST' => 'Quark!',
|
||||
'BLOG' => [
|
||||
'ITEM' => [
|
||||
'CONTINUE_READING' => 'Weiterlesen...',
|
||||
'NEXT_POST' => 'Nächster Beitrag',
|
||||
'PREV_POST' => 'Vorheriger Beitrag'
|
||||
]
|
||||
],
|
||||
'SHOP' => [
|
||||
'ITEM' => [
|
||||
'BACK' => 'Zurück',
|
||||
'NEXT_ITEM' => 'Nächstes Objekt',
|
||||
'PREV_ITEM' => 'Vorheriger Objekt'
|
||||
]
|
||||
],
|
||||
'SIDEBAR' => [
|
||||
'SIMPLE_SEARCH' => [
|
||||
'HEADLINE' => 'SimpleSearch'
|
||||
],
|
||||
'RELATED_POSTS' => [
|
||||
'HEADLINE' => 'Ähnliche Beiträge'
|
||||
],
|
||||
'RANDOM_ARTICLE' => [
|
||||
'HEADLINE' => 'Zufälliger Artikel',
|
||||
'FEELING_LUCKY' => 'Auf gut Glück!'
|
||||
],
|
||||
'SOME_TEXT_WIDGET' => [
|
||||
'HEADLINE' => 'Text Widget Beispiel'
|
||||
],
|
||||
'POPULAR_TAGS' => [
|
||||
'HEADLINE' => 'Häufigste Tags'
|
||||
],
|
||||
'ARCHIVES' => [
|
||||
'HEADLINE' => 'Archiv'
|
||||
],
|
||||
'SYNDICATE' => [
|
||||
'HEADLINE' => 'Abonnements'
|
||||
]
|
||||
],
|
||||
'FORM_DATA' => [
|
||||
'SUMMARY' => 'Folgendes haben Sie uns mitgeteilt:'
|
||||
],
|
||||
'ERROR' => 'Fehler'
|
||||
],
|
||||
'es' => [
|
||||
'TRANSLATION_TEST' => 'Quark!',
|
||||
'BLOG' => [
|
||||
'ITEM' => [
|
||||
'CONTINUE_READING' => 'Continuar leyendo...',
|
||||
'NEXT_POST' => 'Siguiente Entrada',
|
||||
'PREV_POST' => 'Entrada Anterior'
|
||||
]
|
||||
],
|
||||
'SHOP' => [
|
||||
'ITEM' => [
|
||||
'BACK' => 'Espalda',
|
||||
'NEXT_ITEM' => 'Siguiente Artículo',
|
||||
'PREV_ITEM' => 'Artículo Anterior'
|
||||
]
|
||||
],
|
||||
'SIDEBAR' => [
|
||||
'SIMPLE_SEARCH' => [
|
||||
'HEADLINE' => 'Buscar'
|
||||
],
|
||||
'RELATED_POSTS' => [
|
||||
'HEADLINE' => 'Entradas Relacionadas'
|
||||
],
|
||||
'RANDOM_ARTICLE' => [
|
||||
'HEADLINE' => 'Artículo Aleatorio',
|
||||
'FEELING_LUCKY' => 'Voy a tener suerte!'
|
||||
],
|
||||
'SOME_TEXT_WIDGET' => [
|
||||
'HEADLINE' => 'Algunos Widget de Texto'
|
||||
],
|
||||
'POPULAR_TAGS' => [
|
||||
'HEADLINE' => 'Etiquetas Populares'
|
||||
],
|
||||
'ARCHIVES' => [
|
||||
'HEADLINE' => 'Archivos'
|
||||
],
|
||||
'SYNDICATE' => [
|
||||
'HEADLINE' => 'Distribuir'
|
||||
]
|
||||
],
|
||||
'FORM_DATA' => [
|
||||
'SUMMARY' => 'Este es un resumen de lo escrito:'
|
||||
],
|
||||
'ERROR' => 'Error'
|
||||
],
|
||||
'fr' => [
|
||||
'TRANSLATION_TEST' => 'Quark !',
|
||||
'BLOG' => [
|
||||
'ITEM' => [
|
||||
'CONTINUE_READING' => 'Continuer la lecture...',
|
||||
'NEXT_POST' => 'Article suivant',
|
||||
'PREV_POST' => 'Article précédent'
|
||||
]
|
||||
],
|
||||
'SIDEBAR' => [
|
||||
'SIMPLE_SEARCH' => [
|
||||
'HEADLINE' => 'Recherche simple'
|
||||
],
|
||||
'RELATED_POSTS' => [
|
||||
'HEADLINE' => 'Articles en relation'
|
||||
],
|
||||
'RANDOM_ARTICLE' => [
|
||||
'HEADLINE' => 'Article aléatoire',
|
||||
'FEELING_LUCKY' => 'J\'ai de la chance !'
|
||||
],
|
||||
'SOME_TEXT_WIDGET' => [
|
||||
'HEADLINE' => 'Du texte gadget'
|
||||
],
|
||||
'POPULAR_TAGS' => [
|
||||
'HEADLINE' => 'Tags populaires'
|
||||
],
|
||||
'ARCHIVES' => [
|
||||
'HEADLINE' => 'Archives'
|
||||
],
|
||||
'SYNDICATE' => [
|
||||
'HEADLINE' => 'Syndication'
|
||||
]
|
||||
],
|
||||
'FORM_DATA' => [
|
||||
'SUMMARY' => 'Voici le résumé de ce que vous avez écrit pour nous:'
|
||||
],
|
||||
'ERROR' => 'Erreur'
|
||||
],
|
||||
'it' => [
|
||||
'TRANSLATION_TEST' => 'Quark!',
|
||||
'BLOG' => [
|
||||
'ITEM' => [
|
||||
'CONTINUE_READING' => 'Continua a leggere...',
|
||||
'NEXT_POST' => 'Prossimo articolo',
|
||||
'PREV_POST' => 'Articolo precedente'
|
||||
]
|
||||
],
|
||||
'SIDEBAR' => [
|
||||
'SIMPLE_SEARCH' => [
|
||||
'HEADLINE' => 'SimpleSearch'
|
||||
],
|
||||
'RELATED_POSTS' => [
|
||||
'HEADLINE' => 'Articoli correlati'
|
||||
],
|
||||
'RANDOM_ARTICLE' => [
|
||||
'HEADLINE' => 'Articolo a caso',
|
||||
'FEELING_LUCKY' => 'Mi sento fortunato!'
|
||||
],
|
||||
'SOME_TEXT_WIDGET' => [
|
||||
'HEADLINE' => 'Widget di testo'
|
||||
],
|
||||
'POPULAR_TAGS' => [
|
||||
'HEADLINE' => 'Tag popolari'
|
||||
],
|
||||
'ARCHIVES' => [
|
||||
'HEADLINE' => 'Archivio'
|
||||
],
|
||||
'SYNDICATE' => [
|
||||
'HEADLINE' => 'Feed'
|
||||
]
|
||||
],
|
||||
'FORM_DATA' => [
|
||||
'SUMMARY' => 'Questo è il riassunto di quanto ci hai scritto:'
|
||||
],
|
||||
'ERROR' => 'Errore'
|
||||
],
|
||||
'ro' => [
|
||||
'BLOG' => [
|
||||
'ITEM' => [
|
||||
'CONTINUE_READING' => 'Mai multe...',
|
||||
'NEXT_POST' => 'Următorul articol',
|
||||
'PREV_POST' => 'Articolul anterior'
|
||||
]
|
||||
],
|
||||
'SIDEBAR' => [
|
||||
'SIMPLE_SEARCH' => [
|
||||
'HEADLINE' => 'Căutare'
|
||||
],
|
||||
'RELATED_POSTS' => [
|
||||
'HEADLINE' => 'Articole corelate'
|
||||
],
|
||||
'RANDOM_ARTICLE' => [
|
||||
'HEADLINE' => 'Articol aleator'
|
||||
],
|
||||
'FEELING_LUCKY' => 'Mă simt norocos',
|
||||
'SOME_TEXT_WIDGET' => [
|
||||
'HEADLINE' => 'Text modular'
|
||||
],
|
||||
'POPULAR_TAGS' => [
|
||||
'HEADLINE' => 'Etichete populare'
|
||||
],
|
||||
'ARCHIVES' => [
|
||||
'HEADLINE' => 'Arhive'
|
||||
],
|
||||
'SYNDICATE' => [
|
||||
'HEADLINE' => 'Abonați-vă'
|
||||
]
|
||||
],
|
||||
'FORM_DATA' => [
|
||||
'SUMMARY' => 'Acesta este rezumatul mesajului Dvs:'
|
||||
],
|
||||
'ERROR' => 'Eroare'
|
||||
],
|
||||
'ru' => [
|
||||
'TRANSLATION_TEST' => 'Quark!',
|
||||
'BLOG' => [
|
||||
'ITEM' => [
|
||||
'CONTINUE_READING' => 'Читать далее...',
|
||||
'NEXT_POST' => 'Следующая запись',
|
||||
'PREV_POST' => 'Предыдущая запись'
|
||||
]
|
||||
],
|
||||
'SIDEBAR' => [
|
||||
'SIMPLE_SEARCH' => [
|
||||
'HEADLINE' => 'Поиск'
|
||||
],
|
||||
'RELATED_POSTS' => [
|
||||
'HEADLINE' => 'Также читайте'
|
||||
],
|
||||
'RANDOM_ARTICLE' => [
|
||||
'HEADLINE' => 'Случайная запись',
|
||||
'FEELING_LUCKY' => 'Мне повезёт!'
|
||||
],
|
||||
'SOME_TEXT_WIDGET' => [
|
||||
'HEADLINE' => 'Текстовой виджет'
|
||||
],
|
||||
'POPULAR_TAGS' => [
|
||||
'HEADLINE' => 'Популярные теги'
|
||||
],
|
||||
'ARCHIVES' => [
|
||||
'HEADLINE' => 'Архив'
|
||||
],
|
||||
'SYNDICATE' => [
|
||||
'HEADLINE' => 'Синдикация'
|
||||
]
|
||||
],
|
||||
'FORM_DATA' => [
|
||||
'SUMMARY' => 'Вы написали нам:'
|
||||
],
|
||||
'ERROR' => 'Ошибка'
|
||||
],
|
||||
'uk' => [
|
||||
'TRANSLATION_TEST' => 'Quark!',
|
||||
'BLOG' => [
|
||||
'ITEM' => [
|
||||
'CONTINUE_READING' => 'Читати далі...',
|
||||
'NEXT_POST' => 'Наступний запис',
|
||||
'PREV_POST' => 'Попередній запис'
|
||||
]
|
||||
],
|
||||
'SIDEBAR' => [
|
||||
'SIMPLE_SEARCH' => [
|
||||
'HEADLINE' => 'Пошук'
|
||||
],
|
||||
'RELATED_POSTS' => [
|
||||
'HEADLINE' => 'Також читайте'
|
||||
],
|
||||
'RANDOM_ARTICLE' => [
|
||||
'HEADLINE' => 'Випадковий запис',
|
||||
'FEELING_LUCKY' => 'Мені пощастить!'
|
||||
],
|
||||
'SOME_TEXT_WIDGET' => [
|
||||
'HEADLINE' => 'Текстовий віджет'
|
||||
],
|
||||
'POPULAR_TAGS' => [
|
||||
'HEADLINE' => 'Популярні теги'
|
||||
],
|
||||
'ARCHIVES' => [
|
||||
'HEADLINE' => 'Архів'
|
||||
],
|
||||
'SYNDICATE' => [
|
||||
'HEADLINE' => 'Синдикація'
|
||||
]
|
||||
],
|
||||
'FORM_DATA' => [
|
||||
'SUMMARY' => 'Ви написали нам:'
|
||||
],
|
||||
'ERROR' => 'Помилка'
|
||||
],
|
||||
'hr' => [
|
||||
'TRANSLATION_TEST' => 'Quark!',
|
||||
'BLOG' => [
|
||||
'ITEM' => [
|
||||
'CONTINUE_READING' => 'Nastavi s čitanjem...',
|
||||
'NEXT_POST' => 'Slijedeća objava',
|
||||
'PREV_POST' => 'Prethodna objava'
|
||||
]
|
||||
],
|
||||
'SIDEBAR' => [
|
||||
'SIMPLE_SEARCH' => [
|
||||
'HEADLINE' => 'Pretraživanje'
|
||||
],
|
||||
'RELATED_POSTS' => [
|
||||
'HEADLINE' => 'Povezane objave'
|
||||
],
|
||||
'RANDOM_ARTICLE' => [
|
||||
'HEADLINE' => 'Slučajni članak',
|
||||
'FEELING_LUCKY' => 'Osjećam se sretno!'
|
||||
],
|
||||
'SOME_TEXT_WIDGET' => [
|
||||
'HEADLINE' => 'Neki tekst widget'
|
||||
],
|
||||
'POPULAR_TAGS' => [
|
||||
'HEADLINE' => 'Popularni tagovi'
|
||||
],
|
||||
'ARCHIVES' => [
|
||||
'HEADLINE' => 'Arhiva'
|
||||
],
|
||||
'SYNDICATE' => [
|
||||
'HEADLINE' => 'Kanali'
|
||||
]
|
||||
],
|
||||
'FORM_DATA' => [
|
||||
'SUMMARY' => 'Ovo je sažetak onog što ste nam napisali:'
|
||||
],
|
||||
'ERROR' => 'Greška'
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\Config\\CompiledLanguages',
|
||||
'timestamp' => 1527104664,
|
||||
'timestamp' => 1527510263,
|
||||
'checksum' => '6b784ecb8164281e9eeb48a43bfbe8c7',
|
||||
'files' => [
|
||||
'system/languages' => [
|
||||
@@ -22693,6 +22693,6 @@ Path: `%2$s`
|
||||
]
|
||||
],
|
||||
'checksum' => '6b784ecb8164281e9eeb48a43bfbe8c7',
|
||||
'timestamp' => 1527104664
|
||||
'timestamp' => 1527510263
|
||||
]
|
||||
];
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user