encodingField('config[encoding_format]', $this->config->get('encoding_format', '8bit'));
?>
charsetField(
'config[charset]',
$this->config->get('charset'),
['class' => 'acym__select']
);
?>
[
'label' => 'ACYM_SPECIAL_CHARS',
],
'multiple_part' => [
'label' => 'ACYM_CONFIGURATION_MULTIPART',
],
'prevent_hyphens' => [
'label' => 'ACYM_PREVENT_HYPHENS',
],
'embed_images' => [
'label' => 'ACYM_CONFIGURATION_EMBED_IMAGES',
'info_disabled' => 'ACYM_CONFIGURATION_OPTION_DESC_DISABLED',
],
'embed_files' => [
'label' => 'ACYM_CONFIGURATION_EMBED_ATTACHMENTS',
'info_disabled' => 'ACYM_CONFIGURATION_OPTION_DESC_DISABLED',
],
'archive_index' => [
'label' => 'ACYM_CONFIGURATION_INDEX_ARCHIVE',
],
'send_website_emails' => [
'label' => 'ACYM_SEND_WEBSITE_EMAILS',
],
];
foreach ($options as $oneOption => $option) {
echo '
';
$label = $option['label'];
$info = empty($option['info_disabled']) ? '' : ''.acym_translation($option['info_disabled']).' ';
$description = $label.'_DESC';
$translatedDescription = acym_translation($description);
$label = acym_translation($label);
if ($translatedDescription !== $description) {
$info .= $translatedDescription;
}
if (!empty($info)) {
$info = acym_info($info);
}
$default = empty($option['default']) ? 0 : $option['default'];
echo acym_switch(
'config['.$oneOption.']',
$this->config->get($oneOption, $default),
$label.$info
);
echo '
';
}
$style = $this->config->get('embed_files', 0) ? 'style="display:none;"' : '';
?>
>
acym_translation('ACYM_TOP_OF_EMAIL_CONTENT'),
'bottom' => acym_translation('ACYM_BOTTOM_OF_EMAIL_CONTENT'),
],
'config[attachments_position]',
$this->config->get('attachments_position', 'bottom'),
['class' => 'acym__select']
);
?>
config->get('dkim'),
acym_translation('ACYM_CONFIGURATION_DKIM').acym_info('ACYM_INTRO_DKIM'),
[],
'medium-6 small-9',
'auto',
'',
'dkim_config'
); ?>
config->get('dkim_domain', '');
if (empty($domain)) {
$domain = preg_replace(['#^https?://(www\.)*#i', '#^www\.#'], '', ACYM_LIVE);
$domain = substr($domain, 0, strpos($domain, '/'));
}
$dkimSelector = $this->config->get('dkim_selector', 'acy');
if ((!empty($dkimSelector) && $dkimSelector != 'acy') || $this->config->get('dkim_passphrase', '') != '' || acym_getVar('int', 'dkimletme')) {
?>
config->get('dkim_public', ''), '"');
echo acym_translationSprintf(
'ACYM_DKIM_CONFIGURE',
'
'
);
?>