]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/EmailMan/tpls/campaignconfig.tpl
Release 6.4.0
[Github/sugarcrm.git] / modules / EmailMan / tpls / campaignconfig.tpl
1 {*
2 /*********************************************************************************
3  * SugarCRM Community Edition is a customer relationship management program developed by
4  * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
5  * 
6  * This program is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Affero General Public License version 3 as published by the
8  * Free Software Foundation with the addition of the following permission added
9  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
10  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
11  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
12  * 
13  * This program is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
16  * details.
17  * 
18  * You should have received a copy of the GNU Affero General Public License along with
19  * this program; if not, see http://www.gnu.org/licenses or write to the Free
20  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  * 02110-1301 USA.
22  * 
23  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
24  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
25  * 
26  * The interactive user interfaces in modified source and object code versions
27  * of this program must display Appropriate Legal Notices, as required under
28  * Section 5 of the GNU Affero General Public License version 3.
29  * 
30  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
31  * these Appropriate Legal Notices must retain the display of the "Powered by
32  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
33  * technical reasons, the Appropriate Legal Notices must display the words
34  * "Powered by SugarCRM".
35  ********************************************************************************/
36
37 /*********************************************************************************
38
39  ********************************************************************************/
40 *}
41 {$ROLLOVER}
42 <script type="text/javascript" src="{sugar_getjspath file='modules/Users/User.js'}"></script>
43 <script type="text/javascript">
44 <!--
45 {literal}
46 function change_state(radiobutton) 
47 {
48         if (radiobutton.value == '1') {
49                 radiobutton.form['massemailer_tracking_entities_location'].disabled=true;
50                 radiobutton.form['massemailer_tracking_entities_location'].value='{/literal}{$MOD.TRACKING_ENTRIES_LOCATION_DEFAULT_VALUE}{literal}';
51         } 
52         else {
53                 radiobutton.form['massemailer_tracking_entities_location'].disabled=false;
54                 radiobutton.form['massemailer_tracking_entities_location'].value=null;
55         }
56 }
57 {/literal}
58 -->
59 </script>
60 <form name="ConfigureSettings" id="EditView" method="POST" >
61         <input type="hidden" name="module" value="EmailMan">
62         <input type="hidden" name="campaignConfig" value="true">
63         <input type="hidden" name="action">
64         <input type="hidden" name="return_module" value="{$RETURN_MODULE}">
65         <input type="hidden" name="return_action" value="{$RETURN_ACTION}">
66         <input type="hidden" name="source_form" value="config" />
67
68 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="edit view">
69         <tr>
70                 <td>
71                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
72                                 <tr>
73                                         <th align="left" scope="row" colspan="4">
74                                                 <h4>
75                                                         {$MOD.LBL_OUTBOUND_EMAIL_TITLE}
76                                                 </h4>
77                                         </th>
78                                 </tr>
79                                 <tr>
80                                         <td width="40%" scope="row">
81                                                 {$MOD.LBL_EMAILS_PER_RUN}&nbsp;<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span>
82                                         </td>
83                                         <td width="50%" >
84                                                 <input name='massemailer_campaign_emails_per_run' tabindex='1' maxlength='128' type="text" value="{$EMAILS_PER_RUN}">
85                                         </td>
86                                 </tr>
87                                 <tr>
88                                         <td scope="row">
89                                                 {$MOD.LBL_LOCATION_TRACK}&nbsp;<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span>
90                                         </td>
91                                         <td >
92                                                 <input type='radio' onclick="change_state(this);" name='massemailer_tracking_entities_location_type' value="1" {$default_checked}>
93                                                 {$MOD.LBL_DEFAULT_LOCATION}&nbsp;<input type='radio' {$userdefined_checked} onclick="change_state(this);" name='massemailer_tracking_entities_location_type' value="2">{$MOD.LBL_CUSTOM_LOCATION} 
94                                 </tr>
95                                 <tr>
96                                         <td scope="row">
97                                         </td>
98                                         <td >
99                                                 <input name='massemailer_tracking_entities_location' {$tracking_entries_location_state} maxlength='128' type="text" value="{$TRACKING_ENTRIES_LOCATION}">
100                                         </td>
101                                 </tr>
102                                 <tr>
103                                         <td scope="row">
104                                         <div id="rollover">
105                                                 {$MOD.LBL_CAMP_MESSAGE_COPY}&nbsp;<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span>
106                         <a href="#" class="rollover"><span>{$MOD.LBL_CAMP_MESSAGE_COPY_DESC}</span><img border="0" alt=$mod_strings.LBL_HELP src="index.php?entryPoint=getImage&themeName={$THEME}&imageName=helpInline.gif"></a>
107                     </div>
108                                         </td>
109                                         <td >
110                                                 <input type='radio' name='massemailer_email_copy' value="1" {$yes_checked}>
111                                                 {$MOD.LBL_YES}&nbsp;<input type='radio' {$no_checked} name='massemailer_email_copy' value="2">{$MOD.LBL_NO} 
112                                         </td>
113                                 </tr>
114                         </table>
115                 </td>
116         </tr>
117 </table>
118
119 <div style="padding-top:2px;">
120     <input title="{$APP.LBL_SAVE_BUTTON_TITLE}" class="button" onclick="this.form.action.value='Save';return verify_data(this);" type="submit" name="button" value=" {$APP.LBL_SAVE_BUTTON_LABEL} ">
121     <input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" class="button" onclick="this.form.action.value='{$RETURN_ACTION}'; this.form.module.value='{$RETURN_MODULE}';" type="submit" name="button" value=" {$APP.LBL_CANCEL_BUTTON_LABEL} ">
122 </div>
123
124 </form>
125 {$JAVASCRIPT}