| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.6 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
| 6 | +--------------------------------------------------------------------+ |
| 7 | | This file is a part of CiviCRM. | |
| 8 | | | |
| 9 | | CiviCRM is free software; you can copy, modify, and distribute it | |
| 10 | | under the terms of the GNU Affero General Public License | |
| 11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | |
| 12 | | | |
| 13 | | CiviCRM is distributed in the hope that it will be useful, but | |
| 14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| 16 | | See the GNU Affero General Public License for more details. | |
| 17 | | | |
| 18 | | You should have received a copy of the GNU Affero General Public | |
| 19 | | License and the CiviCRM Licensing Exception along | |
| 20 | | with this program; if not, contact CiviCRM LLC | |
| 21 | | at info[AT]civicrm[DOT]org. If you have questions about the | |
| 22 | | GNU Affero General Public License or the licensing of CiviCRM, | |
| 23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | |
| 24 | +--------------------------------------------------------------------+ |
| 25 | *} |
| 26 | <div class="crm-block crm-form-block crm-preferences-address-form-block"> |
| 27 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> |
| 28 | <h3>{ts}Mailing Labels{/ts}</h3> |
| 29 | <table class="form-layout"> |
| 30 | <tr class="crm-preferences-address-form-block-mailing_format"> |
| 31 | <td class="label">{$form.mailing_format.label}<br />{help id='label-tokens'}</td> |
| 32 | <td> |
| 33 | <div class="helpIcon" id="helphtml"> |
| 34 | <input class="crm-token-selector big" data-field="mailing_format" /> |
| 35 | {help id="id-token-text" tplFile=$tplFile file="CRM/Contact/Form/Task/Email.hlp"} |
| 36 | </div> |
| 37 | {$form.mailing_format.html|crmAddClass:huge12}<br /> |
| 38 | <span class="description">{ts}Content and format for mailing labels.{/ts}</span> |
| 39 | </td> |
| 40 | </tr> |
| 41 | </table> |
| 42 | |
| 43 | <h3>{ts}Address Display{/ts}</h3> |
| 44 | <table class="form-layout"> |
| 45 | <tr class="crm-preferences-address-form-block-address_format"> |
| 46 | <td class="label">{$form.address_format.label}<br />{help id='address-tokens'}</td> |
| 47 | <td> |
| 48 | <div class="helpIcon" id="helphtml"> |
| 49 | <input class="crm-token-selector big" data-field="address_format" /> |
| 50 | {help id="id-token-text" tplFile=$tplFile file="CRM/Contact/Form/Task/Email.hlp"} |
| 51 | </div> |
| 52 | {$form.address_format.html|crmAddClass:huge12}<br /> |
| 53 | <span class="description">{ts}Format for displaying addresses in the Contact Summary and Event Information screens.{/ts}<br />{ts 1={contact.state_province} 2={contact.state_province_name}}Use %1 for state/province abbreviation or %2 for state province name.{/ts}</span> |
| 54 | </td> |
| 55 | </tr> |
| 56 | </table> |
| 57 | |
| 58 | <h3>{ts}Address Editing{/ts}</h3> |
| 59 | <table class="form-layout"> |
| 60 | <tr class="crm-preferences-address-form-block-address_options"> |
| 61 | <td class="label">{$form.address_options.label} |
| 62 | <td>{$form.address_options.html}<br /> |
| 63 | <span class="description">{ts}Select the fields to be included when editing a contact or event address.{/ts}</span> |
| 64 | </td> |
| 65 | </tr> |
| 66 | </table> |
| 67 | |
| 68 | <h3>{ts}Address Standardization{/ts}</h3> |
| 69 | <table class="form-layout"> |
| 70 | <tr class="crm-preferences-address-form-block-description"> |
| 71 | <td colspan="2"> |
| 72 | <span class="description"> |
| 73 | {ts 1=https://www.usps.com/business/web-tools-apis/address-information.htm}CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at <a href='%1' target='_blank'>%1</a>. If you are approved, they will provide you with a User ID and the URL for the service.{/ts} |
| 74 | {ts}Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below.{/ts} |
| 75 | </span> |
| 76 | </td> |
| 77 | </tr> |
| 78 | <tr class="crm-preferences-address-form-block-address_standardization_provider"> |
| 79 | <td class="label">{$form.address_standardization_provider.label}</td> |
| 80 | <td>{$form.address_standardization_provider.html}<br /> |
| 81 | <span class="description">{ts}Address Standardization Provider.{/ts}</span> |
| 82 | </td> |
| 83 | </tr> |
| 84 | <tr class="crm-preferences-address-form-block-address_standardization_userid"> |
| 85 | <td class="label">{$form.address_standardization_userid.label} |
| 86 | <td>{$form.address_standardization_userid.html}<br /> |
| 87 | <span class="description">{ts}Web service user ID.{/ts}</span> |
| 88 | </td> |
| 89 | </tr> |
| 90 | <tr class="crm-preferences-address-form-block-address_standardization_url"> |
| 91 | <td class="label">{$form.address_standardization_url.label} |
| 92 | <td>{$form.address_standardization_url.html}<br /> |
| 93 | <span class="description">{ts}Web Service URL{/ts}</span> |
| 94 | </td> |
| 95 | </tr> |
| 96 | </table> |
| 97 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> |
| 98 | </div> |
| 99 | {include file="CRM/Mailing/Form/InsertTokens.tpl"} |