123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <?php
- return [
- '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
- 'filename' => '/home/kevin/Documents/Sites/anissabensalah.net/system/blueprints/config/security.yaml',
- 'modified' => 1544136609,
- 'data' => [
- 'title' => 'PLUGIN_ADMIN.SECURITY',
- 'form' => [
- 'validation' => 'loose',
- 'fields' => [
- 'xss_section' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.XSS_SECURITY',
- 'underline' => true
- ],
- 'xss_whitelist' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.XSS_WHITELIST_PERMISSIONS',
- 'help' => 'PLUGIN_ADMIN.XSS_WHITELIST_PERMISSIONS_HELP',
- 'placeholder' => 'admin.super',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ]
- ],
- 'xss_enabled.on_events' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_ON_EVENTS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'xss_enabled.invalid_protocols' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_INVALID_PROTOCOLS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'xss_enabled.moz_binding' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_MOZ_BINDINGS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'xss_enabled.html_inline_styles' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_HTML_INLINE_STYLES',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'xss_enabled.dangerous_tags' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_DANGEROUS_TAGS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'xss_dangerous_tags' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.XSS_DANGEROUS_TAGS_LIST',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ]
- ],
- 'uploads_section' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.UPLOADS_SECURITY',
- 'underline' => true
- ],
- 'uploads_dangerous_extensions' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.UPLOADS_DANGEROUS_EXTENSIONS',
- 'help' => 'PLUGIN_ADMIN.UPLOADS_DANGEROUS_EXTENSIONS_HELP',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ]
- ]
- ]
- ]
- ]
- ];
|