commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / templates / CRM / Mailing / Form / Settings.tpl
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
27 <script type="text/javascript">
28 {literal}
29
30 CRM.$(function($) {
31 // hide all the selects that contains only one option
32 $('.crm-message-select select').each(function (){
33 if ($(this).find('option').size() == 1) {
34 $(this).parent().parent().hide();
35 }
36 });
37 if (!$('#override_verp').prop('checked')){
38 $('.crm-mailing-settings-form-block-forward_replies,.crm-mailing-settings-form-block-auto_responder').hide();
39 }
40 $('#override_verp').click(function(){
41 $('.crm-mailing-settings-form-block-forward_replies,.crm-mailing-settings-form-block-auto_responder').toggle();
42 if (!$('#override_verp').prop('checked')) {
43 $('#forward_replies, #auto_responder').prop('checked', false);
44 }
45 });
46
47 });
48 {/literal}
49 </script>
50
51 <div class="crm-block crm-form-block crm-mailing-settings-form-block">
52 {include file="CRM/common/WizardHeader.tpl"}
53 <div id="help">
54 {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}
55 </div>
56 {include file="CRM/Mailing/Form/Count.tpl"}
57 <div class="crm-block crm-form-block crm-mailing-settings-form-block">
58 <fieldset><legend>{ts}Tracking{/ts}</legend>
59 <table class="form-layout"><tr class="crm-mailing-settings-form-block-url_tracking">
60 <td class="label">{$form.url_tracking.label}</td>
61 <td>{$form.url_tracking.html}
62 <span class="description">
63 {ts}Track the number of times recipients click each link in this mailing.{/ts}
64 {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}
65 </span>
66 </td></tr><tr class="crm-mailing-settings-form-block-open_tracking">
67 <td class="label">{$form.open_tracking.label}</td>
68 <td>{$form.open_tracking.html}
69 <span class="description">{ts}Track the number of times recipients open this mailing in their email software.{/ts}</span>
70 </td></tr>
71 </table>
72 </fieldset>
73 <fieldset><legend>{ts}Responding{/ts}</legend>
74 <table class="form-layout">
75 <tr class="crm-mailing-settings-form-block-override_verp"><td class="label">{$form.override_verp.label}</td>
76 <td>{$form.override_verp.html}
77 <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>
78 </td>
79 </tr>
80 <tr class="crm-mailing-settings-form-block-forward_replies"><td class="label ">{$form.forward_replies.label}</td>
81 <td>{$form.forward_replies.html}
82 <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>
83 </td>
84 </tr>
85 <tr class="crm-mailing-settings-form-block-auto_responder"><td class="label">{$form.auto_responder.label}</td>
86 <td>{$form.auto_responder.html} &nbsp; {$form.reply_id.html}
87 <span class="description">{ts}If a recipient replies to this mailing, send an automated reply using the selected message.{/ts}</span>
88 </td>
89 </tr>
90 <tr class="crm-mailing-settings-form-block-unsubscribe_id crm-message-select"><td class="label">{$form.unsubscribe_id.label}</td>
91 <td>{$form.unsubscribe_id.html}
92 <span class="description">{ts}Select the automated message to be sent when a recipient unsubscribes from this mailing.{/ts}</span>
93 </td>
94 <tr>
95 <tr class="crm-mailing-settings-form-block-resubscribe_id crm-message-select"><td class="label">{$form.resubscribe_id.label}</td>
96 <td>{$form.resubscribe_id.html}
97 <span class="description">{ts}Select the automated message to be sent when a recipient resubscribes to this mailing.{/ts}</span>
98 </td>
99 </tr>
100 <tr class="crm-mailing-settings-form-block-optout_id crm-message-select"><td class="label ">{$form.optout_id.label}</td>
101 <td>{$form.optout_id.html}
102 <span class="description">{ts}Select the automated message to be sent when a recipient opts out of all mailings from your site.{/ts}</span>
103 </td>
104 </tr>
105 </table>
106 </fieldset>
107 <fieldset><legend>Online Publication</legend>
108 <table class="form-layout">
109 <tr class="crm-mailing-group-form-block-visibility">
110 <td class="label">{$form.visibility.label}</td><td>{$form.visibility.html} {help id="mailing-visibility"}
111 </td>
112 </tr>
113 </table>
114 </fieldset>
115 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div>
116 </div>
117 </div>
118