CRM-19440 add regions to contribution page admin forms
authorSeamus Lee <seamuslee001@gmail.com>
Sat, 1 Oct 2016 23:12:02 +0000 (10:12 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Sat, 1 Oct 2016 23:12:02 +0000 (10:12 +1100)
templates/CRM/Contribute/Form/ContributionPage/AddProduct.tpl
templates/CRM/Contribute/Form/ContributionPage/Amount.tpl
templates/CRM/Contribute/Form/ContributionPage/Custom.tpl
templates/CRM/Contribute/Form/ContributionPage/Premium.tpl
templates/CRM/Contribute/Form/ContributionPage/Settings.tpl
templates/CRM/Contribute/Form/ContributionPage/ThankYou.tpl
templates/CRM/Contribute/Form/ContributionPage/Widget.tpl

index 7f32267c3a1419b3f6ee4c94087402e5ab2bfb58..206f81823c1163051491a1bd9787da710d31c067 100644 (file)
@@ -23,6 +23,7 @@
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 *}
+{crmRegion name="contribute-form-contributionpage-addprouct-main"}
 {capture assign=managePremiumsURL}{crmURL p='civicrm/admin/contribute/managePremiums' q="reset=1"}{/capture}
 <h3>{if $action eq 2 }{ts}Add Products to This Page{/ts} {elseif $action eq 1024}{ts}Preview{/ts}{else} {ts}Remove Products from this Page{/ts}{/if}</h3>
 <div class="crm-block crm-form-block crm-contribution-add_product-form-block">
 });
 {/literal}
 </script>
+{/crmRegion}
+{crmRegion name="contribute-form-contributionpage-addproduct-post"}
+{/crmRegion}
index 4e64a058748ea0740f53ba9508247674c7c70e2e..217288c20da05e5e4eece1e70fa9affc36a12800 100644 (file)
@@ -24,6 +24,7 @@
  +--------------------------------------------------------------------+
 *}
 {capture assign="adminPriceSets"}{crmURL p='civicrm/admin/price' q="reset=1"}{/capture}
+{crmRegion name="contribute-form-contributionpage-amount-main"}
 <div class="crm-block crm-form-block crm-contribution-contributionpage-amount-form-block">
 <div class="help">
     {ts}Use this form to configure Contribution Amount options. You can give contributors the ability to enter their own contribution amounts - and/or provide a fixed list of amounts. For fixed amounts, you can enter a label for each 'level' of contribution (e.g. Friend, Sustainer, etc.). If you allow people to enter their own dollar amounts, you can also set minimum and maximum values. Depending on your choice of Payment Processor, you may be able to offer a recurring contribution option.{/ts} {docURL page="user/contributions/payment-processors"}
 </script>
 {/literal}
 {/if}
+{/crmRegion}
+{crmRegion name="contribute-form-contributionpage-amount-post"}
+{/crmRegion}
index 7cee82c13c9929d88ca6510a84027658cd8bc5f6..aeed1096c8a2a8a73d190a9435de2148d12fe58e 100644 (file)
@@ -23,6 +23,7 @@
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 *}
+{crmRegion name="contribute-form-contributionpage-custom-main"}
 <div class="crm-block crm-form-block crm-contribution-contributionpage-custom-form-block">
 <div class="help">
     <p>{ts}You may want to collect information from contributors beyond what is required to make a contribution. For example, you may want to inquire about volunteer availability and skills. Add any number of fields to your contribution form by selecting CiviCRM Profiles (collections of fields) to include at the beginning of the page, and/or at the bottom.{/ts} {help id="contrib-profile"}</p>
@@ -46,3 +47,6 @@
 </table>
 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
 </div>
+{/crmRegion}
+{crmRegion name="contribute-form-contributionpage-custom-post"}
+{/crmRegion}
index a38c82050f070263c219a658dd1b27b9aae2a52a..4155e5f98471a819778d715b66d7e8fdfa2dfcbd 100644 (file)
@@ -23,6 +23,7 @@
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 *}
+{crmRegion name="contribute-form-contributionpage-premium-main"}
 <div class="help">
   {ts}Edit <strong>Premiums Settings</strong> to customize the title and introductory message (e.g ...in appreciation of your support, you will be able to select from a number of exciting thank-you gifts...). You can optionally provide a contact email address and/or phone number for inquiries.{/ts}
   {ts}Then select and review the premiums that you want to offer on this contribution page.{/ts}
 
   {/literal}
 </script>
+{/crmRegion}
+{crmRegion name="contribute-form-contributionpage-premium-post}
+{/crmRegion}
index 27ce4d5523b5fa799f3ed27f3761cfe3570f87e1..a665368887b447b8afcd0ce082b53f0462c2c249 100644 (file)
@@ -24,6 +24,7 @@
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 *}
+{crmRegion name="contribute-form-contributionpage-settings-main"}
 <div class="crm-block crm-form-block crm-contribution-contributionpage-settings-form-block">
 <div class="help">
     {if $action eq 0}
      }
  {/literal}
 </script>
+{/crmRegion}
+{crmRegion name="contribute-form-contributionpage-settings-post"}
+{/crmRegion}
index 8ad1a29b2928c6ae78c1fa58f4abbf1bf4387bf7..93ee0e7821184e74b8f610eaa2624f2f1a95b926 100644 (file)
@@ -23,6 +23,7 @@
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 *}
+{crmRegion name="contribute-form-contributionpage-thankyou-main"}
 <div class="crm-block crm-form-block crm-contribution-contributionpage-thankyou-form-block">
 <div class="help">
     <p>{ts}Use this form to configure the thank-you message and receipting options.{/ts} {help id="id_thank"}</p>
@@ -88,3 +89,6 @@
      }
  {/literal}
 </script>
+{/crmRegion}
+{crmRegion name="contribute-form-contributionpage-thankyou-post}
+{/crmRegion}
index e2bf9965d525c73ec25e67e1f261f02c01e4c016..5483ad3fc2d0cbd10e51b109b1b4939dc553e48c 100644 (file)
@@ -23,6 +23,7 @@
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 *}
+{crmRegion name="contribute-form-contributionpage-widget-main"}
 <h3>{ts}Configure Widget{/ts}</h3>
 {if $showStatus}
 <div class="messages status no-popup">
     }
 </script>
 {/literal}
+{/crmRegion}
+{crmRegion name="contribute-form-contributionpage-widget-post}
+{/crmRegion}