2 /*********************************************************************************
3 * SugarCRM Community Edition is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
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.
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
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
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.
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.
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 ********************************************************************************/
37 /*********************************************************************************
39 ********************************************************************************/
42 <script type="text/javascript" src="{sugar_getjspath file='modules/Users/User.js'}"></script>
43 <script type="text/javascript">
46 function change_state(radiobutton)
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}';
53 radiobutton.form['massemailer_tracking_entities_location'].disabled=false;
54 radiobutton.form['massemailer_tracking_entities_location'].value=null;
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" />
68 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="edit view">
71 <table width="100%" border="0" cellspacing="0" cellpadding="0">
73 <th align="left" scope="row" colspan="4">
75 {$MOD.LBL_OUTBOUND_EMAIL_TITLE}
80 <td width="40%" scope="row">
81 {$MOD.LBL_EMAILS_PER_RUN} <span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span>
84 <input name='massemailer_campaign_emails_per_run' tabindex='1' maxlength='128' type="text" value="{$EMAILS_PER_RUN}">
89 {$MOD.LBL_LOCATION_TRACK} <span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span>
92 <input type='radio' onclick="change_state(this);" name='massemailer_tracking_entities_location_type' value="1" {$default_checked}>
93 {$MOD.LBL_DEFAULT_LOCATION} <input type='radio' {$userdefined_checked} onclick="change_state(this);" name='massemailer_tracking_entities_location_type' value="2">{$MOD.LBL_CUSTOM_LOCATION}
99 <input name='massemailer_tracking_entities_location' {$tracking_entries_location_state} maxlength='128' type="text" value="{$TRACKING_ENTRIES_LOCATION}">
105 {$MOD.LBL_CAMP_MESSAGE_COPY} <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>
110 <input type='radio' name='massemailer_email_copy' value="1" {$yes_checked}>
111 {$MOD.LBL_YES} <input type='radio' {$no_checked} name='massemailer_email_copy' value="2">{$MOD.LBL_NO}
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} ">