SuiteCRM-Core/modules/OutboundEmailAccounts/metadata/editviewdefs.php
SAgility Dev c5f636e5bc Squashed 'public/legacy/' changes from 81ce7933fd..4e205ecf45
4e205ecf45 SuiteCRM 7.13.1 Release
c5da36210d Add new modules to unit tests
6321c09b68 Fix #9870 - Fix log level in ImapHandlerFactory
1a0710f537 Add option to enable legacy email compose behaviour
eaff3e776e Remove option to allow user to send as themselves from configuration
7f9c743c78 Only display outbound and system accounts on email compose from
de1b0f2ad8 Update email compose from dropdown
ed30b7575c Allow email compose to send using outbound-only accounts
d3a58bd3e0 Fix #9878 - Catch unhandled error in imap2_close
cc80eabbfd Fix #9878 - Fix InboundEmail save trim error
9190b40c48 Fix #9878 - Fix InboundEmail save error
0db3827d98 Fix #9878 - Fix relate select popup white screen error
e8af74ba7b Fix #9878 - Fix undefined index notice

git-subtree-dir: public/legacy
git-subtree-split: 4e205ecf45d493ad1351c51f8ce787fa1c6400c9
2023-01-24 10:52:04 +00:00

97 lines
3 KiB
PHP

<?php
$viewdefs ['OutboundEmailAccounts'] = [
'EditView' => [
'templateMeta' => [
'maxColumns' => '2',
'widths' => [
[
'label' => '10',
'field' => '30',
],
[
'label' => '10',
'field' => '30',
],
],
'useTabs' => false,
'tabDefs' => [
'DEFAULT' => [
'newTab' => false,
'panelDefault' => 'expanded',
],
'LBL_CONNECTION_CONFIGURATION' => [
'newTab' => false,
'panelDefault' => 'expanded',
],
'LBL_OUTBOUND_CONFIGURATION' => [
'newTab' => false,
'panelDefault' => 'expanded',
],
],
'form' => [
'hidden' => [
],
],
'javascript' => '
<script type="text/javascript">
{literal}var userService = function() { return { isAdmin: function() { return {/literal}{if $is_admin}true{else}false{/if}{literal};}}}();{/literal}
{suite_combinescripts
files="modules/OutboundEmailAccounts/js/fields.js,
modules/OutboundEmailAccounts/js/ssl_port_set.js,
modules/OutboundEmailAccounts/js/panel_toggle.js,
modules/OutboundEmailAccounts/js/owner_toggle.js,
modules/OutboundEmailAccounts/js/smtp_auth_toggle.js"}
</script>
',
],
'panels' => [
'default' => [
[
'name',
''
],
[
'type',
''
],
[
'owner_name',
],
],
'lbl_connection_configuration' => [
[
'mail_smtpserver',
'mail_smtpauth_req',
],
[
'mail_smtpssl',
'mail_smtpuser',
],
[
'mail_smtpport',
'mail_smtppass',
],
[
[
'name' => 'sent_test_email_btn',
'label' => 'LBL_SEND_TEST_EMAIL',
],
],
],
'lbl_outbound_configuration' => [
[
'smtp_from_name',
'reply_to_name'
],
[
'smtp_from_addr',
'reply_to_addr'
],
[
'signature',
''
]
],
],
],
];