mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2024-11-22 07:52:36 +00:00
c46d524d72
- Change from dropdown to show outbound accounts -- show the name of the accounts instead of the from name - Change compose email send to allow sending from outbounds - Add reply to fields to outbound email module - On outbound email account toggle fields for system-override emails - Allow sending using system-override
89 lines
2.6 KiB
PHP
89 lines
2.6 KiB
PHP
<?php
|
|
$viewdefs ['OutboundEmailAccounts'] = [
|
|
'DetailView' => [
|
|
'templateMeta' => [
|
|
'form' => [
|
|
'buttons' => [
|
|
'EDIT',
|
|
'DELETE',
|
|
],
|
|
],
|
|
'maxColumns' => '2',
|
|
'widths' => [
|
|
[
|
|
'label' => '10',
|
|
'field' => '30',
|
|
],
|
|
[
|
|
'label' => '10',
|
|
'field' => '30',
|
|
],
|
|
],
|
|
'useTabs' => false,
|
|
'tabDefs' => [
|
|
'DEFAULT' => [
|
|
'newTab' => false,
|
|
'panelDefault' => 'expanded',
|
|
],
|
|
'LBL_EDITVIEW_PANEL1' => [
|
|
'newTab' => false,
|
|
'panelDefault' => 'expanded',
|
|
],
|
|
],
|
|
'preForm' => '
|
|
<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/owner_toggle.js,
|
|
modules/OutboundEmailAccounts/js/panel_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',
|
|
'',
|
|
],
|
|
],
|
|
'lbl_outbound_configuration' => [
|
|
[
|
|
'smtp_from_name',
|
|
'reply_to_name'
|
|
],
|
|
[
|
|
'smtp_from_addr',
|
|
'reply_to_addr'
|
|
],
|
|
[
|
|
'signature',
|
|
''
|
|
]
|
|
],
|
|
],
|
|
],
|
|
];
|