X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FContribute%2FForm%2FSoftCredit.tpl;h=71bec1c2b4509beb1af412182ce6f61b05352bb3;hb=43849b44f66c3a79f9c834e7b2467f4e052f7b9e;hp=27ba3801e1b3e9e7346462de6dc149ffd05ee5bf;hpb=3587381cb6fe49cb6628b9348906a6ad3043bec9;p=civicrm-core.git diff --git a/templates/CRM/Contribute/Form/SoftCredit.tpl b/templates/CRM/Contribute/Form/SoftCredit.tpl index 27ba3801e1..71bec1c2b4 100644 --- a/templates/CRM/Contribute/Form/SoftCredit.tpl +++ b/templates/CRM/Contribute/Form/SoftCredit.tpl @@ -1,6 +1,6 @@ {* +--------------------------------------------------------------------+ - | CiviCRM version 4.3 | + | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------------------------------------------------+ @@ -24,96 +24,51 @@ +--------------------------------------------------------------------+ *} {* template for adding form elements for soft credit form*} - {$form.soft_credit_to.label} - - {$form.soft_credit_to.html} {help id="id-soft_credit"} - {if $siteHasPCPs} - - {/if} - - - {if $siteHasPCPs}{* Credit contribution to PCP. *} - - {$form.pcp_made_through.label} - - {$form.pcp_made_through.html}   - {ts}unlink from personal campaign page{/ts}
- {ts}Search for the Personal Campaign Page by the fund-raiser's last name or email address.{/ts} -
-
- - - - - - - - - - - - -
{$form.pcp_display_in_roll.label}{$form.pcp_display_in_roll.html}
{$form.pcp_roll_nickname.label}{$form.pcp_roll_nickname.html|crmAddClass:big}
- {ts}Name or nickname contributor wants to be displayed in the Honor Roll. Enter "Anonymous" for anonymous contributions.{/ts}
{$form.pcp_personal_note.label}{$form.pcp_personal_note.html} - {ts}Personal message submitted by contributor for display in the Honor Roll.{/ts} -
+{if $honor_block_is_active} + {crmRegion name="contribution-soft-credit-block"} + {$honor_block_title} +
+ {$honor_block_text} +
+ {if $form.soft_credit_type_id.html} +
+
+ {$form.soft_credit_type_id.html} + ({ts}clear{/ts}) +
{ts}Select an option to reveal honoree information fields.{/ts}
+
+ {/if} + {/crmRegion} +{else} + + {section name='i' start=1 loop=$rowCount} + {assign var='rowNumber' value=$smarty.section.i.index} + + + + + - {/if} - - {literal} - - - - - - -
{ts}Select Contact{/ts} + {assign var='createNewStatus' value=true} + {if !$showCreateNew and $rowNumber lt $showSoftCreditRow} + {assign var='createNewStatus' value=false} + {/if} + {include file="CRM/Contact/Form/NewContact.tpl" noLabel=true skipBreak=true blockNo=$rowNumber + prefix="soft_credit_" showNewSelect=$createNewStatus focus=false} + + {$form.soft_credit_amount.$rowNumber.label} {$form.soft_credit_amount.$rowNumber.html|crmAddClass:eight} + + {$form.soft_credit_type.$rowNumber.label} {$form.soft_credit_type.$rowNumber.html|crmAddClass:eight} +  {ts}delete{/ts}