public static function setupStandardAccount($setupAction) {
return [
- 'url' => CRM_Utils_System::url('civicrm/admin/mailSettings', 'action=add&reset=1', TRUE, NULL, FALSE),
+ 'url' => CRM_Utils_System::url('civicrm/admin/mailSettings/edit', 'action=add&reset=1', TRUE, NULL, FALSE),
];
}
'info'
);
- $nextUrl = CRM_Utils_System::url('civicrm/admin/mailSettings', [
+ $nextUrl = CRM_Utils_System::url('civicrm/admin/mailSettings/edit', [
'action' => 'update',
'id' => $mailSettings['id'],
'reset' => 1,
| and copyright information, see https://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
-{if $action eq 1 or $action eq 2 or $action eq 8}
- {include file="CRM/Admin/Form/MailSettings.tpl"}
-{else}
<div class="crm-block crm-content-block">
{if $rows}
</form>
{else}
<div class="action-link">
- {crmButton q="action=add&reset=1" id="newMailSettings" icon="plus-circle"}{ts}Add Mail Account{/ts}{/crmButton}
+ {crmButton p="civicrm/admin/mailSettings/edit" q="action=add&reset=1" id="newMailSettings" icon="plus-circle"}{ts}Add Mail Account{/ts}{/crmButton}
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
{/if}
-
-{/if}
</div>
{literal}
<script type="text/javascript">