Forward Mailing: remove duplicate buttons, cancel button
authorMathieu Lutfy <mathieu@symbiotic.coop>
Tue, 6 Jul 2021 16:03:40 +0000 (12:03 -0400)
committerMathieu Lutfy <mathieu@bidon.ca>
Tue, 6 Jul 2021 16:03:40 +0000 (12:03 -0400)
CRM/Mailing/Form/ForwardMailing.php
templates/CRM/Mailing/Form/ForwardMailing.tpl

index 359b8866c07cbae694c4909e79925812b4f201d2..66eb266871b45458273f0de03ca32b6932f73b88 100644 (file)
@@ -75,10 +75,6 @@ class CRM_Mailing_Form_ForwardMailing extends CRM_Core_Form {
         'name' => ts('Forward'),
         'isDefault' => TRUE,
       ],
-      [
-        'type' => 'cancel',
-        'name' => ts('Cancel'),
-      ],
     ]);
   }
 
index e8e6205d8edec38b29c99ff526b69b66ebe6a9a3..4e7ba414cf7333bff5dc4f62081c893d426de535 100644 (file)
@@ -8,8 +8,6 @@
  +--------------------------------------------------------------------+
 *}
 <div class="crm-block crm-mailing-forward-form-block">
-<br />
-<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div><br />
 <table class="form-layout">
 <tr class="crm-mailing-forward-form-block-fromEmail"><td class="label">From</td><td>{$fromEmail}</td></tr>
 <tr><td colspan="2">{ts}Please enter up to 5 email addresses to receive the mailing.{/ts}</td></tr>