Files
anissah/cache/compiled/files/7d43376b3c046f273b15e65150829aa3.yaml.php
T
2018-05-24 18:51:55 +02:00

209 lines
7.6 KiB
PHP

<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/mnt/data/Sites/anissabensalah.net/user/plugins/email/blueprints.yaml',
'modified' => 1526367498,
'data' => [
'name' => 'Email',
'version' => '2.7.1',
'description' => 'Enables the emailing system for Grav',
'icon' => 'envelope',
'author' => [
'name' => 'Team Grav',
'email' => 'devs@getgrav.org',
'url' => 'http://getgrav.org'
],
'keywords' => 'plugin, email, sender',
'homepage' => 'https://github.com/getgrav/grav-plugin-email',
'bugs' => 'https://github.com/getgrav/grav-plugin-email/issues',
'license' => 'MIT',
'dependencies' => [
0 => [
'name' => 'grav',
'version' => '>=1.1.9'
]
],
'form' => [
'validation' => 'loose',
'fields' => [
'enabled' => [
'type' => 'hidden',
'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
'highlight' => 1,
'default' => 1,
'options' => [
1 => 'PLUGIN_ADMIN.ENABLED',
0 => 'PLUGIN_ADMIN.DISABLED'
],
'validate' => [
'type' => 'bool'
]
],
'mailer.engine' => [
'type' => 'select',
'label' => 'Mail Engine',
'size' => 'medium',
'options' => [
'none' => 'Disabled',
'smtp' => 'SMTP',
'sendmail' => 'Sendmail'
]
],
'content_type' => [
'type' => 'select',
'label' => 'Content type',
'size' => 'medium',
'default' => 'text/html',
'options' => [
'text/plain' => 'Plain text',
'text/html' => 'HTML'
]
],
'charset' => [
'type' => 'text',
'size' => 'medium',
'label' => 'Charset',
'placeholder' => 'Defaults to UTF-8'
],
'from' => [
'type' => 'email',
'size' => 'medium',
'label' => 'Email from',
'placeholder' => 'Default email from address',
'validate' => [
'required' => true,
'type' => 'email'
]
],
'from_name' => [
'type' => 'text',
'size' => 'medium',
'label' => 'Email from name',
'placeholder' => 'Default email from name'
],
'to' => [
'type' => 'email',
'size' => 'medium',
'label' => 'Email to',
'placeholder' => 'Default email to address',
'multiple' => true,
'validate' => [
'required' => true,
'type' => 'email'
]
],
'to_name' => [
'type' => 'text',
'size' => 'medium',
'label' => 'Email to name',
'placeholder' => 'Default email to name'
],
'cc' => [
'type' => 'email',
'size' => 'medium',
'label' => 'Email CC',
'placeholder' => 'Default email CC address',
'multiple' => true,
'validate' => [
'type' => 'email'
]
],
'cc_name' => [
'type' => 'text',
'size' => 'medium',
'label' => 'Email CC name',
'placeholder' => 'Default email CC name'
],
'bcc' => [
'type' => 'email',
'size' => 'medium',
'label' => 'Email BCC',
'placeholder' => 'Default email BCC address',
'multiple' => true,
'validate' => [
'type' => 'email'
]
],
'reply_to' => [
'type' => 'email',
'size' => 'medium',
'label' => 'Email reply-to',
'placeholder' => 'Default email reply-to address',
'multiple' => true,
'validate' => [
'type' => 'email'
]
],
'reply_to_name' => [
'type' => 'text',
'size' => 'medium',
'label' => 'Email reply-to name',
'placeholder' => 'Default email reply-to name'
],
'body' => [
'type' => 'textarea',
'size' => 'medium',
'label' => 'Email body',
'placeholder' => 'Defaults to a table of all form fields'
],
'mailer.smtp.server' => [
'type' => 'text',
'size' => 'medium',
'label' => 'SMTP server',
'placeholder' => 'e.g. smtp.google.com'
],
'mailer.smtp.port' => [
'type' => 'text',
'size' => 'small',
'label' => 'SMTP port',
'placeholder' => 'Defaults to 25 (plaintext) / 587 (encrypted)',
'validate' => [
'type' => 'number',
'min' => 1,
'max' => 65535
]
],
'mailer.smtp.encryption' => [
'type' => 'select',
'size' => 'medium',
'label' => 'SMTP encryption',
'options' => [
'none' => 'None',
'ssl' => 'SSL',
'tls' => 'TLS'
]
],
'mailer.smtp.user' => [
'type' => 'text',
'size' => 'medium',
'label' => 'SMTP login name'
],
'mailer.smtp.password' => [
'type' => 'password',
'size' => 'medium',
'label' => 'SMTP password'
],
'mailer.sendmail.bin' => [
'type' => 'text',
'size' => 'medium',
'label' => 'Path to sendmail',
'placeholder' => '/usr/sbin/sendmail'
],
'debug' => [
'type' => 'toggle',
'label' => 'Debug',
'highlight' => 1,
'default' => 0,
'options' => [
1 => 'PLUGIN_ADMIN.ENABLED',
0 => 'PLUGIN_ADMIN.DISABLED'
],
'validate' => [
'type' => 'bool'
]
]
]
]
]
];