+++ /dev/null
-{*
- +--------------------------------------------------------------------+
- | CiviCRM version 5 |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM. |
- | |
- | CiviCRM is free software; you can copy, modify, and distribute it |
- | under the terms of the GNU Affero General Public License |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
- | |
- | CiviCRM is distributed in the hope that it will be useful, but |
- | WITHOUT ANY WARRANTY; without even the implied warranty of |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
- | See the GNU Affero General Public License for more details. |
- | |
- | You should have received a copy of the GNU Affero General Public |
- | License and the CiviCRM Licensing Exception along |
- | with this program; if not, contact CiviCRM LLC |
- | at info[AT]civicrm[DOT]org. If you have questions about the |
- | GNU Affero General Public License or the licensing of CiviCRM, |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing |
- +--------------------------------------------------------------------+
-*}
-{htxt id="mailing-name-title"}
- {ts}Name{/ts}
-{/htxt}
-{htxt id="mailing-name"}
-{ts}Assign a unique name to each of your mailings. Select a naming convention that will help keep your mailings organized and easy to find when you want to review and compare mailing results. For example, if you do a monthly general-interest newsletter - you might use the following naming convention:{/ts}
-<div class="status">
-{ts}General Monthly Newsletter: 200709{/ts}
-</div>
-<p></p>
-{/htxt}
-
-{htxt id="base-group-title"}
- {ts}Group{/ts}
-{/htxt}
-{htxt id="base-group"}
-<h3>{ts}Search-based mailings require an "unsubscribe tracking" group.{/ts}</h3>
-<p>{ts}Because this mailing is using the results of a search to provide the recipient list, you need to specify a group to track people who unsubscribe in response to this mailing.{/ts}</p>
-<p>{ts}If a recipient unsubscribes from this mailing, they will be excluded from future mailings which use the same "Unsubscription Group". This is achieved through actually marking the contact as "unsubscribed from the group". If a contact in your search results has already been marked as unsubscribed from that group, they will be excluded from this mailing.{/ts}</p>
-<p>{ts}If a recipient clicks the unsubscribe link they will see the "Unsubscription Group" title on the unsubscribe page. The selected group should have a title that corresponds to the content / type of mailing being sent.{/ts}</p>
-<p>{ts}NOTE: Contacts who are in the "Unsubscription Group" but do not match your search critera will not be included in the mailing regardless of their status in that group. This is a change from previous versions which used the term "Base Group".{/ts}</p>
-{/htxt}
-
-{htxt id="dedupe-email-title"}
- {ts}Dedupe{/ts}
-{/htxt}
-{htxt id="dedupe-email"}
-<p>{ts}CiviCRM will always dedupe your mailing based on unique contact records. For example, if a contact is in three of the groups you are including in your mailing, they will only be sent one copy of the email.{/ts}</p>
-<p>{ts}However, if the same email is used by multiple contacts, that email address will receive multiple copies of the email -- one for each contact using that address.{/ts}</p>
-<p>{ts}Selecting this option will ensure only one email is sent to each address. Note that when using this option and including contact tokens in your email content, the email with it's respective tokens will only be created for one of the matching contacts.{/ts}</p>
-{/htxt}
-
-{htxt id="email-selection-title"}
- {ts}Email selection{/ts}
-{/htxt}
-{htxt id="email-selection"}
-<p>{ts}Some of your contacts may have more than one email address. By selecting a location and a selection method, you can tell CiviCRM which email address to use for this mailing.{/ts}</p>
-<p>{ts}Automatic: If you choose automatic for both the location and the selection method, CiviCRM will choose the best option for each user: If an email is marked "Bulk" then it will be used; otherwise, the email marked "Primary" will be used.{/ts}</p>
-<p>{ts}If "Only send to email addresses assigned to the specified location" is selected, then the recipients will be restricted to only include contacts that have an email address assigned to the given location. This option may limit the number of recipients in your mailing.{/ts}</p>
-<p>{ts}If "Prefer email addresses assigned to the specified location" is selected, then recipients that have an email address assigned to the given location will have that email used. Other recipients will have their email selected using the automatic method.{/ts}</p>
-<p>{ts}If "Exclude email addresses assigned to the specified location" is chosen, then recipients who only have an email address assigned to the given location will be excluded. Everyone else will have their email chosen from the list of emails that are not assigned to the given location, using the automatic method.{/ts}</p>
-{/htxt}
-
-{htxt id="include-groups-title"}
- {ts}Include Groups{/ts}
-{/htxt}
-{htxt id="include-groups"}
-<p>{ts}Determine the contacts in your database who should receive this mailing by first selecting one or more <strong>Included Groups</strong>. (Groups must be assigned the <strong>Mailing List</strong> type to be available on this screen - you can update this for an existing group from <strong>Manage Groups » Settings</strong>.){/ts}</p>
-<p>{ts}You also have the option to <strong>Exclude</strong> some contacts from your included groups by selecting one or more <strong>Excluded Groups</strong>. Contacts who are in both groups will NOT receive the mailing (they are 'excluded').{/ts}</p>
-<p>{ts}If you have sent other mailings - you can additionally Include (or Exclude) contacts who received those mailings. CiviCRM will eliminate any duplications so that contacts who are in an Included Group AND were recipients of an Included Mailing will only be sent one copy of this mailing.{/ts}</p>
-<p>{ts}After you click <strong>Next</strong> - the total number of selected recipients will be displayed on the next screen. Use this as a 'reality-check' to help you confirm that you've targeted (and excluded) the desired recipients.{/ts}</p>
-{/htxt}
-
-{htxt id="exclude-groups-title"}
- {ts}Exclude Groups{/ts}
-{/htxt}
-{htxt id="exclude-groups"}
-<p>{ts}You also have the option to <strong>Exclude</strong> some contacts in your included groups by selecting one or more <strong>Excluded Groups</strong>. Contacts who are in both groups will NOT receive the mailing (they are 'excluded').{/ts}</p>
-{/htxt}
-
-{htxt id="include-mailings-title"}
- {ts}Include Mailings{/ts}
-{/htxt}
-{htxt id="include-mailings"}
-<p>{ts}If you have sent other mailings - you can additionally Include (or Exclude) contacts who received those mailings. CiviCRM will eliminate any duplications so that contacts who are in an Included Group AND were recipients of an Included Mailing will only be sent one copy of this mailing.{/ts}</p>
-{/htxt}
-
-{htxt id="exclude-mailings-title"}
- {ts}Exclude Mailings{/ts}
-{/htxt}
-{htxt id="exclude-mailings"}
-<p>{ts}If you have sent other mailings - you can additionally Include (or Exclude) contacts who received those mailings. CiviCRM will eliminate any duplications so that contacts who are in an Included Group AND were recipients of an Included Mailing will only be sent one copy of this mailing.{/ts}</p>
-{/htxt}
+++ /dev/null
-{*
- +--------------------------------------------------------------------+
- | CiviCRM version 5 |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM. |
- | |
- | CiviCRM is free software; you can copy, modify, and distribute it |
- | under the terms of the GNU Affero General Public License |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
- | |
- | CiviCRM is distributed in the hope that it will be useful, but |
- | WITHOUT ANY WARRANTY; without even the implied warranty of |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
- | See the GNU Affero General Public License for more details. |
- | |
- | You should have received a copy of the GNU Affero General Public |
- | License and the CiviCRM Licensing Exception along |
- | with this program; if not, contact CiviCRM LLC |
- | at info[AT]civicrm[DOT]org. If you have questions about the |
- | GNU Affero General Public License or the licensing of CiviCRM, |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing |
- +--------------------------------------------------------------------+
-*}
-
-<div class="crm-block crm-form-block crm-mailing-group-form-block">
-{include file="CRM/common/WizardHeader.tpl"}
-
- <table class="form-layout">
- <tr class="crm-mailing-group-form-block-name"><td class="label">{$form.name.label}</td><td>{$form.name.html} {help id="mailing-name"}</td></tr>
- {* CRM-7362 --add campaign *}
- {include file="CRM/Campaign/Form/addCampaignToComponent.tpl"
- campaignTrClass="crm-mailing-group-form-block-campaign_id"}
-
- {if $context EQ 'search'}
- <tr class="crm-mailing-group-form-block-baseGroup">
- <td class="label">{$form.baseGroup.label}</td>
- <td>{$form.baseGroup.html} {help id="base-group"}</td>
- </tr>
- {/if}
-
- <tr class="crm-mailing-group-form-block-dedupeemail">
- <td class="label">{$form.dedupe_email.label}</td>
- <td>{$form.dedupe_email.html} {help id="dedupe-email"}</td>
- </tr>
- <tr class="crm-mailing-group-form-block-locationTypeId">
- <td class="label">{$form.location_type_id.label}</td>
- <td>{$form.location_type_id.html}</td>
- </tr>
- <tr class="crm-mailing-group-form-block-locationSelectionMethod">
- <td class="label">{$form.email_selection_method.label}</td>
- <td>{$form.email_selection_method.html} {help id="email-selection"}</td>
- </tr>
-
- </table>
-
-{if ($groupCount > 0|| $mailingCount > 0)}
-<div id="id-additional" class="form-item">
-<div class="crm-accordion-wrapper ">
- <div class="crm-accordion-header">
- {if $context EQ 'search'}{ts}Additional Mailing Recipients{/ts}{else}{ts}Mailing Recipients{/ts}{/if}
- </div><!-- /.crm-accordion-header -->
- <div class="crm-accordion-body">
- {strip}
-
- <table>
- {if $groupCount > 0}
- <tr class="crm-mailing-group-form-block-includeGroups"><td class="label">{$form.includeGroups.label} {help id="include-groups"}</td></tr>
- <tr class="crm-mailing-group-form-block-includeGroups"><td>{$form.includeGroups.html}</td></tr>
- <tr class="crm-mailing-group-form-block-excludeGroups"><td class="label">{$form.excludeGroups.label} {help id="exclude-groups"}</td></tr>
- <tr class="crm-mailing-group-form-block-excludeGroups"><td>{$form.excludeGroups.html}</td></tr>
- {/if}
- {if $mailingCount > 0}
- <tr class="crm-mailing-group-form-block-includeMailings"><td class="label">{$form.includeMailings.label} {help id="include-mailings"}</td></tr>
- <tr class="crm-mailing-group-form-block-includeMailings"><td>{$form.includeMailings.html}</td></tr>
- <tr class="crm-mailing-group-form-block-excludeMailings"><td class="label">{$form.excludeMailings.label} {help id="exclude-mailings"}</td></tr>
- <tr class="crm-mailing-group-form-block-excludeMailings"><td>{$form.excludeMailings.html}</td></tr>
- {/if}
- </table>
-
- {/strip}
- </div><!-- /.crm-accordion-body -->
-</div><!-- /.crm-accordion-wrapper -->
-{/if}
- <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div>
-</div>
-</div>
-
+++ /dev/null
-{*
- +--------------------------------------------------------------------+
- | CiviCRM version 5 |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM. |
- | |
- | CiviCRM is free software; you can copy, modify, and distribute it |
- | under the terms of the GNU Affero General Public License |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
- | |
- | CiviCRM is distributed in the hope that it will be useful, but |
- | WITHOUT ANY WARRANTY; without even the implied warranty of |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
- | See the GNU Affero General Public License for more details. |
- | |
- | You should have received a copy of the GNU Affero General Public |
- | License and the CiviCRM Licensing Exception along |
- | with this program; if not, contact CiviCRM LLC |
- | at info[AT]civicrm[DOT]org. If you have questions about the |
- | GNU Affero General Public License or the licensing of CiviCRM, |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing |
- +--------------------------------------------------------------------+
-*}
-{htxt id="sending-title"}
- {ts}Scheduling and Sending Mailings{/ts}
-{/htxt}
-{htxt id="sending"}
-<p>
- {ts}You can schedule mailings to be sent starting at a specific date and time, OR you can request that they be sent as soon as possible by checking "Send Immediately".{/ts}
-</p>
-<p>
- {ts}Click <strong>Submit Mailing</strong> to add this mailing to the mailing queue. An automated task which runs periodically on your server processes mailings in the queue, and starts actually sending out your mail.{/ts}
-</p>
-<p>
- {ts}Click <strong>Continue Later</strong> if you're not ready to schedule or send this mailing. Click the <strong>Continue</strong> link from Unscheduled and Draft Mailings when you are ready to schedule or send it.{/ts}
-</p>
-<p>
- {ts}<strong>Trouble-shooting Tip</strong> - If you find that your mailings are not being sent, ask the system administrator or technical support contact for your site to verify that the automated task ("cron job") is running - and how frequently.{/ts} {docURL page="user/advanced-configuration/email-system-configuration"}
-</p>
-{/htxt}
+++ /dev/null
-{*
- +--------------------------------------------------------------------+
- | CiviCRM version 5 |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM. |
- | |
- | CiviCRM is free software; you can copy, modify, and distribute it |
- | under the terms of the GNU Affero General Public License |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
- | |
- | CiviCRM is distributed in the hope that it will be useful, but |
- | WITHOUT ANY WARRANTY; without even the implied warranty of |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
- | See the GNU Affero General Public License for more details. |
- | |
- | You should have received a copy of the GNU Affero General Public |
- | License and the CiviCRM Licensing Exception along |
- | with this program; if not, contact CiviCRM LLC |
- | at info[AT]civicrm[DOT]org. If you have questions about the |
- | GNU Affero General Public License or the licensing of CiviCRM, |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing |
- +--------------------------------------------------------------------+
-*}
-<div class="crm-block crm-form-block crm-mailing-schedule-form-block">
-{include file="CRM/common/WizardHeader.tpl"}
-<div class="help">
- {ts}You can schedule this mailing to be sent starting at a specific date and time, OR you can request that it be sent as soon as possible by checking "Send Immediately".{/ts} {help id="sending"}
-</div>
-{include file="CRM/Mailing/Form/Count.tpl"}
-
-<table class="form-layout">
- <tbody>
- <tr class="crm-mailing-schedule-form-block-now">
- <td class="label">{$form.now.label}</td>
- <td>{$form.now.html}</td>
- </tr>
- <tr>
- <td class="label">{ts}OR{/ts}</td>
- <td> </td>
- </tr>
- <tr class="crm-mailing-schedule-form-block-start_date">
- <td class="label">{$form.start_date.label}</td>
- <td>{include file="CRM/common/jcalendar.tpl" elementName=start_date}
- <div class="description">{ts}Set a date and time when you want CiviMail to start sending this mailing.{/ts}</div>
- </td>
- </tr>
- </tbody>
-</table>
-<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div>
-
-{if $preview}
-<div class="crm-accordion-wrapper crm-plain_text_email-accordion collapsed">
- <div class="crm-accordion-header">
- {ts}Preview Mailing{/ts}
- </div><!-- /.crm-accordion-header -->
- <div class="crm-accordion-body">
- <table class="form-layout">
- <tr class="crm-mailing-test-form-block-subject"><td class="label">{ts}Subject:{/ts}</td><td>{$preview.subject}</td></tr>
- {if $preview.attachment}
- <tr class="crm-mailing-test-form-block-attachment"><td class="label">{ts}Attachment(s):{/ts}</td><td>{$preview.attachment}</td></tr>
- {/if}
- {if $preview.viewURL}
- <tr><td class="label">{if $preview.type eq 'html'}{ts}Mailing HTML:{/ts}{else}{ts}Mailing Text:{/ts}{/if}</td><td><iframe height="300" src="{$preview.viewURL}" width="80%"><a href="{$preview.viewURL}" onclick="window.open(this.href); return false;">{ts}Mailing Text:{/ts}</a></iframe></td></tr>
- {/if}
- </table>
- </div><!-- /.crm-accordion-body -->
-</div><!-- /.crm-accordion-wrapper -->
-{/if}
-</div>
-
-<script type="text/javascript">
-{literal}
- CRM.$(function($) {
- $('#start_date_display').change(function() {
- $('#now').prop('checked', !$(this).val());
- });
- $('#now').change(function() {
- if ($(this).prop('checked')) {
- $('#start_date_display, #start_date, #start_date_time').val('');
- } else {
- $('#start_date_display').focus();
- }
- });
- });
-{/literal}
-</script>
+++ /dev/null
-{*
- +--------------------------------------------------------------------+
- | CiviCRM version 5 |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM. |
- | |
- | CiviCRM is free software; you can copy, modify, and distribute it |
- | under the terms of the GNU Affero General Public License |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
- | |
- | CiviCRM is distributed in the hope that it will be useful, but |
- | WITHOUT ANY WARRANTY; without even the implied warranty of |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
- | See the GNU Affero General Public License for more details. |
- | |
- | You should have received a copy of the GNU Affero General Public |
- | License and the CiviCRM Licensing Exception along |
- | with this program; if not, contact CiviCRM LLC |
- | at info[AT]civicrm[DOT]org. If you have questions about the |
- | GNU Affero General Public License or the licensing of CiviCRM, |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing |
- +--------------------------------------------------------------------+
-*}
-
-<script type="text/javascript">
-{literal}
-
-CRM.$(function($) {
- // hide all the selects that contains only one option
- $('.crm-message-select select').each(function (){
- if ($(this).find('option').size() == 1) {
- $(this).parent().parent().hide();
- }
- });
- if (!$('#override_verp').prop('checked')){
- $('.crm-mailing-settings-form-block-forward_replies,.crm-mailing-settings-form-block-auto_responder').hide();
- }
- $('#override_verp').click(function(){
- $('.crm-mailing-settings-form-block-forward_replies,.crm-mailing-settings-form-block-auto_responder').toggle();
- if (!$('#override_verp').prop('checked')) {
- $('#forward_replies, #auto_responder').prop('checked', false);
- }
- });
-
-});
-{/literal}
-</script>
-
-<div class="crm-block crm-form-block crm-mailing-settings-form-block">
-{include file="CRM/common/WizardHeader.tpl"}
-<div class="help">
- {ts}These settings control tracking and responses to recipient actions. The number of recipients selected to receive this mailing is shown in the box to the right. If this count doesn't match your expectations, click <strong>Previous</strong> to review your selection(s).{/ts}
-</div>
-{include file="CRM/Mailing/Form/Count.tpl"}
-<div class="crm-block crm-form-block crm-mailing-settings-form-block">
- <fieldset><legend>{ts}Tracking{/ts}</legend>
- <table class="form-layout"><tr class="crm-mailing-settings-form-block-url_tracking">
- <td class="label">{$form.url_tracking.label}</td>
- <td>{$form.url_tracking.html}
- <span class="description">
- {ts}Track the number of times recipients click each link in this mailing.{/ts}
- {ts}NOTE: When this feature is enabled, all links in the message body will be automatically re-written to route through your CiviCRM server prior to redirecting to the target page.{/ts}
- </span>
- </td></tr><tr class="crm-mailing-settings-form-block-open_tracking">
- <td class="label">{$form.open_tracking.label}</td>
- <td>{$form.open_tracking.html}
- <span class="description">{ts}Track the number of times recipients open this mailing in their email software.{/ts}</span>
- </td></tr>
- </table>
- </fieldset>
- <fieldset><legend>{ts}Responding{/ts}</legend>
- <table class="form-layout">
- <tr class="crm-mailing-settings-form-block-override_verp"><td class="label">{$form.override_verp.label}</td>
- <td>{$form.override_verp.html}
- <span class="description">{ts}Recipients' replies are sent to a CiviMail specific address instead of the sender's address so they can be stored within CiviCRM.{/ts}</span>
- </td>
- </tr>
- <tr class="crm-mailing-settings-form-block-forward_replies"><td class="label ">{$form.forward_replies.label}</td>
- <td>{$form.forward_replies.html}
- <span class="description">{ts}If a recipient replies to this mailing, forward the reply to the FROM Email address specified for the mailing.{/ts}</span>
- </td>
- </tr>
- <tr class="crm-mailing-settings-form-block-auto_responder"><td class="label">{$form.auto_responder.label}</td>
- <td>{$form.auto_responder.html} {$form.reply_id.html}
- <span class="description">{ts}If a recipient replies to this mailing, send an automated reply using the selected message.{/ts}</span>
- </td>
- </tr>
- <tr class="crm-mailing-settings-form-block-unsubscribe_id crm-message-select"><td class="label">{$form.unsubscribe_id.label}</td>
- <td>{$form.unsubscribe_id.html}
- <span class="description">{ts}Select the automated message to be sent when a recipient unsubscribes from this mailing.{/ts}</span>
- </td>
- <tr>
- <tr class="crm-mailing-settings-form-block-resubscribe_id crm-message-select"><td class="label">{$form.resubscribe_id.label}</td>
- <td>{$form.resubscribe_id.html}
- <span class="description">{ts}Select the automated message to be sent when a recipient resubscribes to this mailing.{/ts}</span>
- </td>
- </tr>
- <tr class="crm-mailing-settings-form-block-optout_id crm-message-select"><td class="label ">{$form.optout_id.label}</td>
- <td>{$form.optout_id.html}
- <span class="description">{ts}Select the automated message to be sent when a recipient opts out of all mailings from your site.{/ts}</span>
- </td>
- </tr>
- </table>
- </fieldset>
- <fieldset><legend>Online Publication</legend>
- <table class="form-layout">
- <tr class="crm-mailing-group-form-block-visibility">
- <td class="label">{$form.visibility.label}</td><td>{$form.visibility.html} {help id="mailing-visibility"}
- </td>
- </tr>
- </table>
- </fieldset>
- <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div>
-</div>
-</div>
-
+++ /dev/null
-{*
- +--------------------------------------------------------------------+
- | CiviCRM version 5 |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM. |
- | |
- | CiviCRM is free software; you can copy, modify, and distribute it |
- | under the terms of the GNU Affero General Public License |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
- | |
- | CiviCRM is distributed in the hope that it will be useful, but |
- | WITHOUT ANY WARRANTY; without even the implied warranty of |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
- | See the GNU Affero General Public License for more details. |
- | |
- | You should have received a copy of the GNU Affero General Public |
- | License and the CiviCRM Licensing Exception along |
- | with this program; if not, contact CiviCRM LLC |
- | at info[AT]civicrm[DOT]org. If you have questions about the |
- | GNU Affero General Public License or the licensing of CiviCRM, |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing |
- +--------------------------------------------------------------------+
-*}
-{htxt id="test-intro-title"}
- {ts}Test Message{/ts}
-{/htxt}
-{htxt id="test-intro"}
-<p>{ts}It's a good idea to test your mailing by sending it to yourself and/or a selected group of people in your organization. You can also view your content in the preview panel below.{/ts}</p>
-<p>{ts}Enter a single email address or select an existing group and click "Send a Test Mailing." Once you receive the test mailing:{/ts}</p>
-<ul>
-<li>{ts}Verify the content and formatting.{/ts}</li>
-<li>{ts}If you are using mail-merge tokens, check that they have been replaced with expected values.{/ts}</li>
-<li>{ts}Click on each included link to make sure they go to the expected web pages.{/ts}</li>
-</ul>
-<p>{ts}If you need to make changes, you can click <strong>Previous</strong> to return to the content step, make your changes, and send another test.{/ts}</p>
-{/htxt}
+++ /dev/null
-{*
- +--------------------------------------------------------------------+
- | CiviCRM version 5 |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM. |
- | |
- | CiviCRM is free software; you can copy, modify, and distribute it |
- | under the terms of the GNU Affero General Public License |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
- | |
- | CiviCRM is distributed in the hope that it will be useful, but |
- | WITHOUT ANY WARRANTY; without even the implied warranty of |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
- | See the GNU Affero General Public License for more details. |
- | |
- | You should have received a copy of the GNU Affero General Public |
- | License and the CiviCRM Licensing Exception along |
- | with this program; if not, contact CiviCRM LLC |
- | at info[AT]civicrm[DOT]org. If you have questions about the |
- | GNU Affero General Public License or the licensing of CiviCRM, |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing |
- +--------------------------------------------------------------------+
-*}
-<div class="crm-block crm-form-block crm-mailing-test-form-block">
-{include file="CRM/common/WizardHeader.tpl"}
-<div class="help">
- {ts}It's a good idea to test your mailing by sending it to yourself and/or a selected group of people in your organization. You can also view your content by clicking (+) Preview Mailing.{/ts} {help id="test-intro"}
-</div>
-
-{include file="CRM/Mailing/Form/Count.tpl"}
-
-<fieldset>
- <legend>Test Mailing</legend>
- <table class="form-layout">
- <tr class="crm-mailing-test-form-block-test_email"><td class="label">{$form.test_email.label}</td><td>{$form.test_email.html} {ts}(filled with your contact's token values){/ts}</td></tr>
- <tr class="crm-mailing-test-form-block-test_group"><td class="label">{$form.test_group.label}</td><td>{$form.test_group.html}</td></tr>
- <tr><td></td><td>{$form.sendtest.html}</td>
- </table>
-</fieldset>
-
-<div class="crm-accordion-wrapper crm-plain_text_email-accordion collapsed">
- <div class="crm-accordion-header">
-
- {ts}Preview Mailing{/ts}
- </div><!-- /.crm-accordion-header -->
- <div class="crm-accordion-body">
- <table class="form-layout">
- <tr class="crm-mailing-test-form-block-subject"><td class="label">{ts}Subject:{/ts}</td><td>{$subject}</td></tr>
- {if $preview.attachment}
- <tr class="crm-mailing-test-form-block-attachment"><td class="label">{ts}Attachment(s):{/ts}</td><td>{$preview.attachment}</td></tr>
- {/if}
- {if $preview.text_link}
- <tr><td class="label">{ts}Text Version:{/ts}</td><td><iframe height="300" src="{$preview.text_link}" width="80%"><a href="{$preview.text_link}" onclick="window.open(this.href); return false;">{ts}Text Version{/ts}</a></iframe></td></tr>
- {/if}
- {if $preview.html_link}
- <tr><td class="label">{ts}HTML Version:{/ts}</td><td><iframe height="300" src="{$preview.html_link}" width="80%"><a href="{$preview.html_link}" onclick="window.open(this.href); return false;">{ts}HTML Version{/ts}</a></iframe></td></tr>
- {/if}
- </table>
- </div><!-- /.crm-accordion-body -->
-</div><!-- /.crm-accordion-wrapper -->
-
-<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div>
-
-</div><!-- / .crm-form-block -->
+++ /dev/null
-{*
- +--------------------------------------------------------------------+
- | CiviCRM version 5 |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM. |
- | |
- | CiviCRM is free software; you can copy, modify, and distribute it |
- | under the terms of the GNU Affero General Public License |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
- | |
- | CiviCRM is distributed in the hope that it will be useful, but |
- | WITHOUT ANY WARRANTY; without even the implied warranty of |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
- | See the GNU Affero General Public License for more details. |
- | |
- | You should have received a copy of the GNU Affero General Public |
- | License and the CiviCRM Licensing Exception along |
- | with this program; if not, contact CiviCRM LLC |
- | at info[AT]civicrm[DOT]org. If you have questions about the |
- | GNU Affero General Public License or the licensing of CiviCRM, |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing |
- +--------------------------------------------------------------------+
-*}
-{htxt id ="id-from_email-title"}
- {ts}From Address{/ts}
-{/htxt}
-{htxt id ="id-from_email"}
-<p>{ts}Select the "FROM" Email Address for this mailing from the dropdown list. Available email addresses are configurable by users with Administer CiviCRM permission. EXAMPLE: "Client Services" <clientservices@example.org>{/ts}</p>
-{if $params.isAdmin}
- {capture assign="fromConfig"}{crmURL p="civicrm/admin/options/from_email_address" q="reset=1"}{/capture}
- <p>{ts 1=$fromConfig}Go to <a href='%1'>Administer CiviCRM » Communications » FROM Email Addresses</a> to add or edit email addresses. Make sure these email addresses are valid email accounts with your email service provider.{/ts}</p>
-{else}
- {ts}Contact your site administrator if you need to use a "FROM" Email Address which is not in the dropdown list.{/ts}
-{/if}
-{/htxt}
-
-{htxt id="content-intro-title"}
- {ts}Message Formats{/ts}
-{/htxt}
-{htxt id="content-intro"}
-<p>{ts}You can choose to send BOTH an <strong>HTML</strong> and a plain <strong>TEXT</strong> version of your mailing, OR you can send a <strong>TEXT</strong> version only.{/ts}</p>
-<p>{ts}If you create only an <strong>HTML</strong> version, CiviMail will automatically create a <strong>TEXT</strong> version for your recipients who have chosen NOT to receive HTML email.{/ts}</p>
-<h1>{ts}Required Elements{/ts}</h1>
-<p>{ts}CiviMail email messages must include an <strong>opt-out</strong> link ("Opt out via web page"), and the <strong>postal address</strong> of your organization. These elements help reduce the chances of your email being categorized as SPAM. They can be included in the main message body OR in a re-usable <strong>message footer</strong>. Refer to the online documentation for details on how to include required links and contact information as well as sample messages.{/ts} {docURL page="Sample CiviMail Messages" resource="wiki"}</p>
-{/htxt}
-
-{htxt id="upload-compose-title"}
- {ts}Upload or Compose On-screen{/ts}
-{/htxt}
-{htxt id="upload-compose"}
-<p>{ts}You can use your favorite editor to create content on your local computer and then <strong>Upload</strong> the files. OR you can <strong>Compose</strong> content directly on the screen.{/ts}</p>
-<p>{ts}If you choose to compose on the screen, a basic WYSIWYG (what-you-see-is-what-you-get) editor is provided which you can use create simple HTML messages. However, if you are planning on creating HTML messages with complex layouts - it is best to use an HTML editor on your local computer. Then locate and upload the saved file(s) by clicking the <strong>Browse</strong> button.{/ts}</p>
-{/htxt}
-
-{htxt id="id-message-text-title"}
- {ts}Text Message{/ts}
-{/htxt}
-{htxt id="id-message-text"}
-<p>{ts}You can send your email as a simple text-only message, as an HTML formatted message, or both. Text-only messages are sufficient for most email communication - and some recipients may prefer not to receive HTML formatted messages.{/ts}</p>
-<p>{ts}HTML messages have more visual impact, allow you to include images, and may be more readable if you are including links to website pages. However, different email programs may interpret HTML formats differently - so use this option cautiously unless you have a template format that has been tested with different web and desktop email programs.{/ts}</p>
-{/htxt}
+++ /dev/null
-{*
- +--------------------------------------------------------------------+
- | CiviCRM version 5 |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM. |
- | |
- | CiviCRM is free software; you can copy, modify, and distribute it |
- | under the terms of the GNU Affero General Public License |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
- | |
- | CiviCRM is distributed in the hope that it will be useful, but |
- | WITHOUT ANY WARRANTY; without even the implied warranty of |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
- | See the GNU Affero General Public License for more details. |
- | |
- | You should have received a copy of the GNU Affero General Public |
- | License and the CiviCRM Licensing Exception along |
- | with this program; if not, contact CiviCRM LLC |
- | at info[AT]civicrm[DOT]org. If you have questions about the |
- | GNU Affero General Public License or the licensing of CiviCRM, |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing |
- +--------------------------------------------------------------------+
-*}
-<div class="crm-block crm-form-block crm-mailing-upload-form-block">
-{include file="CRM/common/WizardHeader.tpl"}
-
-<div class="help">
- {ts}You can either <strong>upload</strong> the mailing content from your computer OR <strong>compose</strong> the content on this screen.{/ts} {help id="content-intro"}
-</div>
-
-{include file="CRM/Mailing/Form/Count.tpl"}
-
-<table class="form-layout-compressed">
- <tr class="crm-mailing-upload-form-block-from_email_address"><td class="label">{$form.from_email_address.label}</td>
- <td>{$form.from_email_address.html} {help id ="id-from_email" file="CRM/Contact/Form/Task/Email.hlp" isAdmin=$isAdmin}</td>
- </tr>
- {if $trackReplies}
- <tr class="crm-mailing-upload-form-block-reply_to_address">
- <td style="color:#3E3E3E;"class="label">{ts}Reply-To{/ts}<span class="crm-marker">*</span></td>
- <td>{ts}Auto-Generated{/ts}</td>
- </tr>
- {else}
- <tr class="crm-mailing-upload-form-block-reply_to_address">
- <td class="label">{$form.reply_to_address.label}</td>
- <td>{$form.reply_to_address.html}</td>
- </tr>
- {/if}
- <tr class="crm-mailing-upload-form-block-template">
- <td class="label">{$form.template.label}</td>
- <td>{$form.template.html}</td>
- </tr>
- <tr class="crm-mailing-upload-form-block-subject"><td class="label">{$form.subject.label}</td>
- <td colspan="2">
- {$form.subject.html|crmAddClass:huge}
- <input class="crm-token-selector big" data-field="subject" />
- {help id="id-token-subject" tplFile=$tplFile isAdmin=$isAdmin file="CRM/Contact/Form/Task/Email.hlp"}
- </td>
- </tr>
- <tr class="crm-mailing-upload-form-block-upload_type"><td></td><td colspan="2">{$form.upload_type.label} {$form.upload_type.html} {help id="upload-compose"}</td></tr>
-</table>
-
-<fieldset id="compose_id"><legend>{ts}Compose On-screen{/ts}</legend>
-{include file="CRM/Contact/Form/Task/EmailCommon.tpl" upload=1 noAttach=1}
-</fieldset>
-
- {capture assign=docLink}{docURL page="Sample CiviMail Messages" text="More information and sample messages..." resource="wiki"}{/capture}
- <fieldset id="upload_id"><legend>{ts}Upload Content{/ts}</legend>
- <table class="form-layout-compressed">
- <tr class="crm-mailing-upload-form-block-textFile">
- <td class="label">{$form.textFile.label}</td>
- <td>{$form.textFile.html}<br />
- <span class="description">{ts}Browse to the <strong>TEXT</strong> message file you have prepared for this mailing.{/ts}<br /> {$docLink}</span>
- </td>
- </tr>
- <tr class="crm-mailing-upload-form-block-htmlFile">
- <td class="label">{$form.htmlFile.label}</td>
- <td>{$form.htmlFile.html}<br />
- <span class="description">{ts}Browse to the <strong>HTML</strong> message file you have prepared for this mailing.{/ts}<br /> {$docLink}</span>
- </td>
- </tr>
- </table>
- </fieldset>
-
- {include file="CRM/Form/attachment.tpl"}
-
- <fieldset><legend>{ts}Header / Footer{/ts}</legend>
- <table class="form-layout-compressed">
- <tr class="crm-mailing-upload-form-block-header_id">
- <td class="label">{$form.header_id.label}</td>
- <td>{$form.header_id.html}<br />
- <span class="description">{ts}You may choose to include a pre-configured Header block above your message.{/ts}</span>
- </td>
- </tr>
- <tr class="crm-mailing-upload-form-block-footer_id">
- <td class="label">{$form.footer_id.label}</td>
- <td>{$form.footer_id.html}<br />
- <span class="description">{ts}You may choose to include a pre-configured Footer block below your message. This is a good place to include the required unsubscribe, opt-out and postal address tokens.{/ts}</span>
- </td>
- </tr>
- </table>
- </fieldset>
-
- <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div>
-</div><!-- / .crm-form-block -->
-
-{* -- Javascript for showing/hiding the upload/compose options -- *}
-{include file="CRM/common/showHide.tpl"}
-{literal}
-<script type="text/javascript">
- showHideUpload();
- function showHideUpload()
- {
- if (document.getElementsByName("upload_type")[0].checked) {
- cj('#compose_id').hide();
- cj('.crm-mailing-upload-form-block-template').hide();
- cj('#upload_id').show();
- } else {
- cj('#compose_id').show();
- cj('.crm-mailing-upload-form-block-template').show();
- cj('#upload_id').hide();
- verify( );
- }
- }
-</script>
-{/literal}