update
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/user/plugins/admin/blueprints/admin/pages/modular_new.yaml',
|
||||
'modified' => 1529476888,
|
||||
'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'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/user/plugins/admin/blueprints/admin/pages/new_folder.yaml',
|
||||
'modified' => 1529476888,
|
||||
'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'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/user/plugins/admin/blueprints/admin/pages/new.yaml',
|
||||
'modified' => 1529476888,
|
||||
'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'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"02-07-2018":140,"03-07-2018":176}
|
||||
{"02-07-2018":140,"03-07-2018":176,"04-07-2018":9}
|
||||
@@ -1 +1 @@
|
||||
{"07-2018":316}
|
||||
{"07-2018":325}
|
||||
@@ -1 +1 @@
|
||||
{"\/":316}
|
||||
{"\/":325}
|
||||
@@ -1 +1 @@
|
||||
{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1530632643}
|
||||
{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1530699635}
|
||||
Reference in New Issue
Block a user