add gulp
This commit is contained in:
+99
-187
@@ -1,9 +1,15 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\Config\\CompiledBlueprints',
|
||||
'timestamp' => 1533134392,
|
||||
'checksum' => 'd09045e6280bb32db6b459ad185bcc56',
|
||||
'timestamp' => 1533136703,
|
||||
'checksum' => '8adcdeef63232c2546b4b3b573a22ad6',
|
||||
'files' => [
|
||||
'user/plugins/admin/blueprints/config' => [
|
||||
'media' => [
|
||||
'file' => 'user/plugins/admin/blueprints/config/media.yaml',
|
||||
'modified' => 1533014916
|
||||
]
|
||||
],
|
||||
'system/blueprints/config' => [
|
||||
'media' => [
|
||||
'file' => 'system/blueprints/config/media.yaml',
|
||||
@@ -62,6 +68,53 @@ return [
|
||||
'validation' => 'loose'
|
||||
]
|
||||
],
|
||||
'media.types' => [
|
||||
'name' => 'media.types',
|
||||
'type' => 'list',
|
||||
'label' => 'PLUGIN_ADMIN.MEDIA_TYPES',
|
||||
'style' => 'vertical',
|
||||
'key' => 'extension',
|
||||
'controls' => 'both',
|
||||
'collapsed' => true,
|
||||
'validation' => 'loose',
|
||||
'array' => true
|
||||
],
|
||||
'media.types.*' => [
|
||||
'type' => '_parent',
|
||||
'name' => 'media.types.*',
|
||||
'form_field' => false
|
||||
],
|
||||
'media.types.*.type' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.TYPE',
|
||||
'name' => 'media.types.*.type',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'media.types.*.thumb' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.THUMB',
|
||||
'name' => 'media.types.*.thumb',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'media.types.*.mime' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.MIME_TYPE',
|
||||
'validate' => [
|
||||
'type' => 'lower'
|
||||
],
|
||||
'name' => 'media.types.*.mime',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'media.types.*.image' => [
|
||||
'type' => 'textarea',
|
||||
'yaml' => true,
|
||||
'label' => 'PLUGIN_ADMIN.IMAGE_OPTIONS',
|
||||
'validate' => [
|
||||
'type' => 'yaml'
|
||||
],
|
||||
'name' => 'media.types.*.image',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'site' => [
|
||||
'type' => '_root',
|
||||
'form_field' => false,
|
||||
@@ -116,17 +169,10 @@ return [
|
||||
'name' => 'site.taxonomies',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'site.content' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'name' => 'site.content',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'site.summary' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'type' => '_parent',
|
||||
'name' => 'site.summary',
|
||||
'validation' => 'loose'
|
||||
'form_field' => false
|
||||
],
|
||||
'site.summary.enabled' => [
|
||||
'type' => 'toggle',
|
||||
@@ -175,8 +221,8 @@ return [
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'site.metadata' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'type' => 'array',
|
||||
'label' => 'PLUGIN_ADMIN.METADATA',
|
||||
'name' => 'site.metadata',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
@@ -187,8 +233,8 @@ return [
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'site.routes' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'type' => 'array',
|
||||
'label' => 'PLUGIN_ADMIN.CUSTOM_ROUTES',
|
||||
'name' => 'site.routes',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
@@ -582,17 +628,10 @@ return [
|
||||
'name' => 'system.pages.frontmatter.ignore_fields',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.content' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'name' => 'system.content',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.languages' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'type' => '_parent',
|
||||
'name' => 'system.languages',
|
||||
'validation' => 'loose'
|
||||
'form_field' => false
|
||||
],
|
||||
'system.languages.supported' => [
|
||||
'type' => 'selectize',
|
||||
@@ -750,12 +789,6 @@ return [
|
||||
'name' => 'system.pages.vary_accept_encoding',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.http_headers' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'name' => 'system.http_headers',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.pages.markdown' => [
|
||||
'type' => '_parent',
|
||||
'name' => 'system.pages.markdown',
|
||||
@@ -817,12 +850,6 @@ return [
|
||||
'name' => 'system.pages.markdown.escape_markup',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.markdown' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'name' => 'system.markdown',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.cache' => [
|
||||
'type' => '_parent',
|
||||
'name' => 'system.cache',
|
||||
@@ -1025,17 +1052,10 @@ return [
|
||||
'name' => 'system.cache.redis.password',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.caching' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'name' => 'system.caching',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.twig' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'type' => '_parent',
|
||||
'name' => 'system.twig',
|
||||
'validation' => 'loose'
|
||||
'form_field' => false
|
||||
],
|
||||
'system.twig.cache' => [
|
||||
'type' => 'toggle',
|
||||
@@ -1108,10 +1128,9 @@ return [
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.assets' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'type' => '_parent',
|
||||
'name' => 'system.assets',
|
||||
'validation' => 'loose'
|
||||
'form_field' => false
|
||||
],
|
||||
'system.assets.css_pipeline' => [
|
||||
'type' => 'toggle',
|
||||
@@ -1277,10 +1296,9 @@ return [
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.errors' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'type' => '_parent',
|
||||
'name' => 'system.errors',
|
||||
'validation' => 'loose'
|
||||
'form_field' => false
|
||||
],
|
||||
'system.errors.display' => [
|
||||
'type' => 'select',
|
||||
@@ -1313,10 +1331,9 @@ return [
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.debugger' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'type' => '_parent',
|
||||
'name' => 'system.debugger',
|
||||
'validation' => 'loose'
|
||||
'form_field' => false
|
||||
],
|
||||
'system.debugger.enabled' => [
|
||||
'type' => 'toggle',
|
||||
@@ -1422,10 +1439,9 @@ return [
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.media' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'type' => '_parent',
|
||||
'name' => 'system.media',
|
||||
'validation' => 'loose'
|
||||
'form_field' => false
|
||||
],
|
||||
'system.media.enable_media_timestamp' => [
|
||||
'type' => 'toggle',
|
||||
@@ -1478,10 +1494,9 @@ return [
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.session' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'type' => '_parent',
|
||||
'name' => 'system.session',
|
||||
'validation' => 'loose'
|
||||
'form_field' => false
|
||||
],
|
||||
'system.session.enabled' => [
|
||||
'type' => 'hidden',
|
||||
@@ -1752,12 +1767,6 @@ return [
|
||||
'name' => 'system.custom_base_url',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'system.advanced' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'name' => 'system.advanced',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.admin' => [
|
||||
'type' => '_root',
|
||||
'form_field' => false,
|
||||
@@ -1770,12 +1779,6 @@ return [
|
||||
'name' => 'plugins',
|
||||
'form_field' => false
|
||||
],
|
||||
'plugins.admin.Basics' => [
|
||||
'type' => 'section',
|
||||
'underline' => false,
|
||||
'name' => 'plugins.admin.Basics',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.admin.enabled' => [
|
||||
'type' => 'hidden',
|
||||
'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
|
||||
@@ -2074,19 +2077,6 @@ return [
|
||||
'name' => 'plugins.admin.hide_modular_page_types',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.admin.MediaResize' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'name' => 'plugins.admin.MediaResize',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.admin.MediaResizeNote' => [
|
||||
'type' => 'spacer',
|
||||
'text' => 'PLUGIN_ADMIN.PAGEMEDIA_RESIZER',
|
||||
'markdown' => true,
|
||||
'name' => 'plugins.admin.MediaResizeNote',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.admin.pagemedia' => [
|
||||
'type' => '_parent',
|
||||
'name' => 'plugins.admin.pagemedia',
|
||||
@@ -2177,12 +2167,6 @@ return [
|
||||
'name' => 'plugins.admin.pagemedia.resize_quality',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.admin.Dashboard' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'name' => 'plugins.admin.Dashboard',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.admin.widgets' => [
|
||||
'type' => '_parent',
|
||||
'name' => 'plugins.admin.widgets',
|
||||
@@ -2263,12 +2247,6 @@ return [
|
||||
'name' => 'plugins.admin.widgets.dashboard-pages',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.admin.Notifications' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'name' => 'plugins.admin.Notifications',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.admin.notifications' => [
|
||||
'type' => '_parent',
|
||||
'name' => 'plugins.admin.notifications',
|
||||
@@ -2334,12 +2312,6 @@ return [
|
||||
'name' => 'plugins.admin.notifications.themes',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.admin.Popularity' => [
|
||||
'type' => 'section',
|
||||
'underline' => true,
|
||||
'name' => 'plugins.admin.Popularity',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.admin.popularity' => [
|
||||
'type' => '_parent',
|
||||
'name' => 'plugins.admin.popularity',
|
||||
@@ -2560,15 +2532,10 @@ return [
|
||||
'name' => 'plugins.form.inline_errors',
|
||||
'validation' => 'strict'
|
||||
],
|
||||
'plugins.form.general' => [
|
||||
'type' => 'section',
|
||||
'name' => 'plugins.form.general',
|
||||
'validation' => 'strict'
|
||||
],
|
||||
'plugins.form.files' => [
|
||||
'type' => 'section',
|
||||
'type' => '_parent',
|
||||
'name' => 'plugins.form.files',
|
||||
'validation' => 'strict'
|
||||
'form_field' => false
|
||||
],
|
||||
'plugins.form.files.multiple' => [
|
||||
'type' => 'toggle',
|
||||
@@ -2662,9 +2629,9 @@ return [
|
||||
'validation' => 'strict'
|
||||
],
|
||||
'plugins.form.recaptcha' => [
|
||||
'type' => 'section',
|
||||
'type' => '_parent',
|
||||
'name' => 'plugins.form.recaptcha',
|
||||
'validation' => 'strict'
|
||||
'form_field' => false
|
||||
],
|
||||
'plugins.form.recaptcha.site_key' => [
|
||||
'type' => 'text',
|
||||
@@ -2833,15 +2800,10 @@ return [
|
||||
'name' => 'plugins.login.user_registration.redirect_after_activation',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.routes' => [
|
||||
'type' => 'section',
|
||||
'name' => 'plugins.login.routes',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.rememberme' => [
|
||||
'type' => 'section',
|
||||
'type' => '_parent',
|
||||
'name' => 'plugins.login.rememberme',
|
||||
'validation' => 'loose'
|
||||
'form_field' => false
|
||||
],
|
||||
'plugins.login.rememberme.enabled' => [
|
||||
'type' => 'toggle',
|
||||
@@ -2876,11 +2838,6 @@ return [
|
||||
'name' => 'plugins.login.rememberme.name',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.login' => [
|
||||
'type' => 'tab',
|
||||
'name' => 'plugins.login.login',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.user_registration.enabled' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'PLUGIN_ADMIN.ENABLED',
|
||||
@@ -2908,11 +2865,6 @@ return [
|
||||
'name' => 'plugins.login.user_registration.default_values',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.registration_fields' => [
|
||||
'type' => 'section',
|
||||
'name' => 'plugins.login.registration_fields',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.user_registration.groups' => [
|
||||
'type' => 'selectize',
|
||||
'size' => 'large',
|
||||
@@ -2940,12 +2892,6 @@ return [
|
||||
'name' => 'plugins.login.user_registration.access.site',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.access_levels' => [
|
||||
'type' => 'section',
|
||||
'security' => 'admin.super',
|
||||
'name' => 'plugins.login.access_levels',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.user_registration.options' => [
|
||||
'type' => '_parent',
|
||||
'name' => 'plugins.login.user_registration.options',
|
||||
@@ -3032,16 +2978,6 @@ return [
|
||||
'name' => 'plugins.login.user_registration.options.send_welcome_email',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.options' => [
|
||||
'type' => 'section',
|
||||
'name' => 'plugins.login.options',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.registration' => [
|
||||
'type' => 'tab',
|
||||
'name' => 'plugins.login.registration',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.max_pw_resets_count' => [
|
||||
'type' => 'number',
|
||||
'size' => 'x-small',
|
||||
@@ -3090,18 +3026,6 @@ return [
|
||||
'name' => 'plugins.login.max_login_interval',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.Security' => [
|
||||
'type' => 'tab',
|
||||
'name' => 'plugins.login.Security',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.login.tabs' => [
|
||||
'type' => 'tabs',
|
||||
'active' => 1,
|
||||
'class' => 'subtle',
|
||||
'name' => 'plugins.login.tabs',
|
||||
'validation' => 'loose'
|
||||
],
|
||||
'plugins.error' => [
|
||||
'type' => '_root',
|
||||
'form_field' => false,
|
||||
@@ -3405,9 +3329,17 @@ return [
|
||||
|
||||
],
|
||||
'nested' => [
|
||||
'media' => 'media',
|
||||
'media' => [
|
||||
'types' => [
|
||||
'*' => [
|
||||
'type' => 'media.types.*.type',
|
||||
'thumb' => 'media.types.*.thumb',
|
||||
'mime' => 'media.types.*.mime',
|
||||
'image' => 'media.types.*.image'
|
||||
]
|
||||
]
|
||||
],
|
||||
'site' => [
|
||||
'content' => 'site.content',
|
||||
'title' => 'site.title',
|
||||
'default_lang' => 'site.default_lang',
|
||||
'author' => [
|
||||
@@ -3422,8 +3354,8 @@ return [
|
||||
'delimiter' => 'site.summary.delimiter'
|
||||
],
|
||||
'metadata' => 'site.metadata',
|
||||
'routes' => 'site.routes',
|
||||
'redirects' => 'site.redirects'
|
||||
'redirects' => 'site.redirects',
|
||||
'routes' => 'site.routes'
|
||||
],
|
||||
'streams' => [
|
||||
'schemes' => [
|
||||
@@ -3431,7 +3363,6 @@ return [
|
||||
]
|
||||
],
|
||||
'system' => [
|
||||
'content' => 'system.content',
|
||||
'home' => [
|
||||
'alias' => 'system.home.alias',
|
||||
'hide_in_urls' => 'system.home.hide_in_urls'
|
||||
@@ -3489,9 +3420,6 @@ return [
|
||||
'http_accept_language' => 'system.languages.http_accept_language',
|
||||
'override_locale' => 'system.languages.override_locale'
|
||||
],
|
||||
'http_headers' => 'system.http_headers',
|
||||
'markdown' => 'system.markdown',
|
||||
'caching' => 'system.caching',
|
||||
'cache' => [
|
||||
'enabled' => 'system.cache.enabled',
|
||||
'check' => [
|
||||
@@ -3550,12 +3478,6 @@ return [
|
||||
'close_connection' => 'system.debugger.shutdown.close_connection'
|
||||
]
|
||||
],
|
||||
'media' => [
|
||||
'enable_media_timestamp' => 'system.media.enable_media_timestamp',
|
||||
'auto_metadata_exif' => 'system.media.auto_metadata_exif',
|
||||
'allowed_fallback_types' => 'system.media.allowed_fallback_types',
|
||||
'unsupported_inline_types' => 'system.media.unsupported_inline_types'
|
||||
],
|
||||
'images' => [
|
||||
'default_image_quality' => 'system.images.default_image_quality',
|
||||
'cache_all' => 'system.images.cache_all',
|
||||
@@ -3563,6 +3485,12 @@ return [
|
||||
'debug' => 'system.images.debug',
|
||||
'auto_fix_orientation' => 'system.images.auto_fix_orientation'
|
||||
],
|
||||
'media' => [
|
||||
'enable_media_timestamp' => 'system.media.enable_media_timestamp',
|
||||
'auto_metadata_exif' => 'system.media.auto_metadata_exif',
|
||||
'allowed_fallback_types' => 'system.media.allowed_fallback_types',
|
||||
'unsupported_inline_types' => 'system.media.unsupported_inline_types'
|
||||
],
|
||||
'session' => [
|
||||
'enabled' => 'system.session.enabled',
|
||||
'timeout' => 'system.session.timeout',
|
||||
@@ -3572,7 +3500,6 @@ return [
|
||||
'path' => 'system.session.path',
|
||||
'split' => 'system.session.split'
|
||||
],
|
||||
'advanced' => 'system.advanced',
|
||||
'gpm' => [
|
||||
'releases' => 'system.gpm.releases',
|
||||
'proxy_url' => 'system.gpm.proxy_url',
|
||||
@@ -3593,7 +3520,6 @@ return [
|
||||
],
|
||||
'plugins' => [
|
||||
'admin' => [
|
||||
'Basics' => 'plugins.admin.Basics',
|
||||
'enabled' => 'plugins.admin.enabled',
|
||||
'cache_enabled' => 'plugins.admin.cache_enabled',
|
||||
'twofa_enabled' => 'plugins.admin.twofa_enabled',
|
||||
@@ -3627,8 +3553,6 @@ return [
|
||||
],
|
||||
'hide_page_types' => 'plugins.admin.hide_page_types',
|
||||
'hide_modular_page_types' => 'plugins.admin.hide_modular_page_types',
|
||||
'MediaResize' => 'plugins.admin.MediaResize',
|
||||
'MediaResizeNote' => 'plugins.admin.MediaResizeNote',
|
||||
'pagemedia' => [
|
||||
'resize_width' => 'plugins.admin.pagemedia.resize_width',
|
||||
'resize_height' => 'plugins.admin.pagemedia.resize_height',
|
||||
@@ -3638,7 +3562,6 @@ return [
|
||||
'res_max_height' => 'plugins.admin.pagemedia.res_max_height',
|
||||
'resize_quality' => 'plugins.admin.pagemedia.resize_quality'
|
||||
],
|
||||
'Dashboard' => 'plugins.admin.Dashboard',
|
||||
'widgets' => [
|
||||
'dashboard-maintenance' => 'plugins.admin.widgets.dashboard-maintenance',
|
||||
'dashboard-statistics' => 'plugins.admin.widgets.dashboard-statistics',
|
||||
@@ -3646,14 +3569,12 @@ return [
|
||||
'dashboard-feed' => 'plugins.admin.widgets.dashboard-feed',
|
||||
'dashboard-pages' => 'plugins.admin.widgets.dashboard-pages'
|
||||
],
|
||||
'Notifications' => 'plugins.admin.Notifications',
|
||||
'notifications' => [
|
||||
'feed' => 'plugins.admin.notifications.feed',
|
||||
'dashboard' => 'plugins.admin.notifications.dashboard',
|
||||
'plugins' => 'plugins.admin.notifications.plugins',
|
||||
'themes' => 'plugins.admin.notifications.themes'
|
||||
],
|
||||
'Popularity' => 'plugins.admin.Popularity',
|
||||
'popularity' => [
|
||||
'enabled' => 'plugins.admin.popularity.enabled',
|
||||
'ignore' => 'plugins.admin.popularity.ignore',
|
||||
@@ -3674,7 +3595,6 @@ return [
|
||||
],
|
||||
'form' => [
|
||||
'enabled' => 'plugins.form.enabled',
|
||||
'general' => 'plugins.form.general',
|
||||
'built_in_css' => 'plugins.form.built_in_css',
|
||||
'inline_css' => 'plugins.form.inline_css',
|
||||
'refresh_prevention' => 'plugins.form.refresh_prevention',
|
||||
@@ -3695,8 +3615,6 @@ return [
|
||||
]
|
||||
],
|
||||
'login' => [
|
||||
'tabs' => 'plugins.login.tabs',
|
||||
'login' => 'plugins.login.login',
|
||||
'enabled' => 'plugins.login.enabled',
|
||||
'built_in_css' => 'plugins.login.built_in_css',
|
||||
'route' => 'plugins.login.route',
|
||||
@@ -3708,7 +3626,6 @@ return [
|
||||
'parent_acl' => 'plugins.login.parent_acl',
|
||||
'dynamic_page_visibility' => 'plugins.login.dynamic_page_visibility',
|
||||
'protect_protected_page_media' => 'plugins.login.protect_protected_page_media',
|
||||
'routes' => 'plugins.login.routes',
|
||||
'route_activate' => 'plugins.login.route_activate',
|
||||
'route_register' => 'plugins.login.route_register',
|
||||
'user_registration' => [
|
||||
@@ -3735,11 +3652,6 @@ return [
|
||||
'timeout' => 'plugins.login.rememberme.timeout',
|
||||
'name' => 'plugins.login.rememberme.name'
|
||||
],
|
||||
'registration' => 'plugins.login.registration',
|
||||
'registration_fields' => 'plugins.login.registration_fields',
|
||||
'access_levels' => 'plugins.login.access_levels',
|
||||
'options' => 'plugins.login.options',
|
||||
'Security' => 'plugins.login.Security',
|
||||
'max_pw_resets_count' => 'plugins.login.max_pw_resets_count',
|
||||
'max_pw_resets_interval' => 'plugins.login.max_pw_resets_interval',
|
||||
'max_login_count' => 'plugins.login.max_login_count',
|
||||
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\Config\\CompiledConfig',
|
||||
'timestamp' => 1533134392,
|
||||
'checksum' => 'f51f032f80d5cb358886c24320a19d61',
|
||||
'timestamp' => 1533136703,
|
||||
'checksum' => 'd2d3a9845188fdd4768c33d77874d32b',
|
||||
'files' => [
|
||||
'user/config' => [
|
||||
'media' => [
|
||||
@@ -23,7 +23,7 @@ return [
|
||||
],
|
||||
'system' => [
|
||||
'file' => 'user/config/system.yaml',
|
||||
'modified' => 1533134392
|
||||
'modified' => 1533136703
|
||||
]
|
||||
],
|
||||
'system/config' => [
|
||||
@@ -596,7 +596,7 @@ return [
|
||||
'hide_in_urls' => false
|
||||
],
|
||||
'pages' => [
|
||||
'theme' => 'quark',
|
||||
'theme' => 'hehe',
|
||||
'order' => [
|
||||
'by' => 'default',
|
||||
'dir' => 'asc'
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/hehe.net/user/plugins/admin/blueprints/config/media.yaml',
|
||||
'modified' => 1533014916,
|
||||
'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'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,415 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/hehe.net/user/themes/hehe/languages.yaml',
|
||||
'modified' => 1533014916,
|
||||
'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'
|
||||
],
|
||||
'nl' => [
|
||||
'TRANSLATION_TEST' => 'Quark!',
|
||||
'BLOG' => [
|
||||
'ITEM' => [
|
||||
'CONTINUE_READING' => 'Lees Meer...',
|
||||
'NEXT_POST' => 'Volgende Bericht',
|
||||
'PREV_POST' => 'Vorige Bericht'
|
||||
]
|
||||
],
|
||||
'SHOP' => [
|
||||
'ITEM' => [
|
||||
'BACK' => 'Teru',
|
||||
'NEXT_ITEM' => 'Volgende Onderdeel',
|
||||
'PREV_ITEM' => 'Vorige Onderdeel'
|
||||
]
|
||||
],
|
||||
'SIDEBAR' => [
|
||||
'SIMPLE_SEARCH' => [
|
||||
'HEADLINE' => 'Zoek'
|
||||
],
|
||||
'RELATED_POSTS' => [
|
||||
'HEADLINE' => 'Gerelateerde Berichten'
|
||||
],
|
||||
'RANDOM_ARTICLE' => [
|
||||
'HEADLINE' => 'Willekeurig Artikel',
|
||||
'FEELING_LUCKY' => 'Ik Voel Me Gelukkig!'
|
||||
],
|
||||
'SOME_TEXT_WIDGET' => [
|
||||
'HEADLINE' => 'Een Tekst Widget'
|
||||
],
|
||||
'POPULAR_TAGS' => [
|
||||
'HEADLINE' => 'Populaire Labels'
|
||||
],
|
||||
'ARCHIVES' => [
|
||||
'HEADLINE' => 'Archieven'
|
||||
],
|
||||
'SYNDICATE' => [
|
||||
'HEADLINE' => 'Syndicatie'
|
||||
]
|
||||
],
|
||||
'FORM_DATA' => [
|
||||
'SUMMARY' => 'Hier is de samenvatting van wat je aan ons schreef:'
|
||||
],
|
||||
'ERROR' => 'Fout'
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => 'themes://hehe/hehe.yaml',
|
||||
'modified' => 1533014916,
|
||||
'data' => [
|
||||
'enabled' => true,
|
||||
'production-mode' => true,
|
||||
'grid-size' => 'grid-lg',
|
||||
'header-fixed' => true,
|
||||
'header-animated' => true,
|
||||
'header-dark' => false,
|
||||
'header-transparent' => false,
|
||||
'sticky-footer' => true,
|
||||
'blog-page' => '/blog',
|
||||
'spectre' => [
|
||||
'exp' => false,
|
||||
'icons' => false
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,139 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/hehe.net/system/blueprints/user/account.yaml',
|
||||
'modified' => 1533014916,
|
||||
'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'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,184 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/hehe.net/user/themes/hehe/blueprints.yaml',
|
||||
'modified' => 1533134529,
|
||||
'data' => [
|
||||
'name' => 'Hehe',
|
||||
'version' => '1.1.0',
|
||||
'description' => 'Theme Hehe',
|
||||
'icon' => 'microchip',
|
||||
'author' => [
|
||||
'name' => 'Kevin Tessier',
|
||||
'email' => 'kevin@figureslibres.io',
|
||||
'url' => 'http://figureslibres.cc'
|
||||
],
|
||||
'homepage' => 'https://github.com/getgrav/grav-theme-quark',
|
||||
'demo' => 'https://demo.getgrav.org/onepage-skeleton',
|
||||
'keywords' => 'hehe, spectre, theme, core, modern, fast, responsive, html5, css3',
|
||||
'bugs' => 'https://github.com/getgrav/grav-theme-quark/issues',
|
||||
'license' => 'MIT',
|
||||
'dependencies' => [
|
||||
0 => [
|
||||
'name' => 'grav',
|
||||
'version' => '>=1.4.0'
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'production-mode' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Production mode',
|
||||
'help' => 'When enabled, Quark will render with minified CSS',
|
||||
'highlight' => 1,
|
||||
'default' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'grid-size' => [
|
||||
'type' => 'select',
|
||||
'label' => 'Grid size',
|
||||
'help' => 'The maximum width of the theme',
|
||||
'size' => 'small',
|
||||
'options' => [
|
||||
'' => 'None (full width)',
|
||||
'grid-xl' => 'Extra Large',
|
||||
'grid-lg' => 'Large',
|
||||
'grid-md' => 'Medium'
|
||||
]
|
||||
],
|
||||
'header_section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'Header Defaults',
|
||||
'underline' => true
|
||||
],
|
||||
'header-fixed' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Fixed header',
|
||||
'help' => 'When enabled, the header will be fixed at the top of the browser',
|
||||
'highlight' => 1,
|
||||
'default' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header-animated' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Animated',
|
||||
'help' => 'When enabled, the header will animate to a smaller header when scrolling',
|
||||
'highlight' => 1,
|
||||
'default' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header-dark' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Dark Style',
|
||||
'help' => 'When enabled, a dark-friendly style will be used',
|
||||
'highlight' => 0,
|
||||
'default' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header-transparent' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Transparent',
|
||||
'help' => 'When enabled, a transparent style will be used',
|
||||
'highlight' => 0,
|
||||
'default' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'footer_section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'Footer Defaults',
|
||||
'underline' => true
|
||||
],
|
||||
'sticky-footer' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Sticky footer',
|
||||
'help' => 'When enabled, the footer will be sticky at the bottom of the browser',
|
||||
'highlight' => 1,
|
||||
'default' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'blog_section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'Blog Defaults',
|
||||
'underline' => true
|
||||
],
|
||||
'blog-page' => [
|
||||
'type' => 'text',
|
||||
'label' => 'Blog Page',
|
||||
'help' => 'The route to the blog page when working with blog sidebar',
|
||||
'size' => 'medium',
|
||||
'default' => '/blog'
|
||||
],
|
||||
'spectre_section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'Spectre.css Options',
|
||||
'underline' => true
|
||||
],
|
||||
'spectre.exp' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Experimentals CSS',
|
||||
'help' => 'When enabled, the `spectre-exp.css` file will be included',
|
||||
'highlight' => 0,
|
||||
'default' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'spectre.icons' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'Icons CSS',
|
||||
'help' => 'When enabled, the `spectre-icons.css` file will be included',
|
||||
'highlight' => 0,
|
||||
'default' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
Reference in New Issue
Block a user