2 /*********************************************************************************
3 * SugarCRM Community Edition is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2012 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 ********************************************************************************/
43 <form id="wizform" name="wizform" method="POST" action="index.php">
44 <input type="hidden" name="module" value="Campaigns">
45 <input type="hidden" name="record" value="{$ID}">
46 <input type="hidden" id="action" name="action">
47 <input type="hidden" name="return_module" value="{$RETURN_MODULE}">
48 <input type="hidden" name="return_id" value="{$RETURN_ID}">
49 <input type="hidden" name="return_action" value="{$RETURN_ACTION}">
50 <input type='hidden' name='campaign_type' value="{$MOD.LBL_NEWSLETTER_FORENTRY}">
51 <input type="hidden" id="wiz_total_steps" name="totalsteps" value="{$TOTAL_STEPS}">
52 <input type="hidden" id="wiz_current_step" name="currentstep" value='1'>
53 <input type="hidden" id="direction" name="wiz_direction" value='exit'>
57 <table width="100%" border="0" cellspacing="0" cellpadding="0" >
59 <td align="left" width='30%'>
60 <table border="0" cellspacing="0" cellpadding="0" ><tr>
61 <td><div id="back_button_div"><input id="wiz_back_button" type='button' title="{$APP.LBL_BACK}" class="button" onclick="javascript:navigate('back');" name="back" value=" {$APP.LBL_BACK}"></div></td>
62 <td><div id="cancel_button_div"><input id="wiz_cancel_button" title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value='WizardHome'; this.form.module.value='Campaigns'; this.form.record.value='{$RETURN_ID}';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}"></div></td>
64 <div id="save_button_div">
65 <input id="wiz_submit_button" class="button" onclick="this.form.action.value='WizardNewsletterSave';this.form.direction.value='continue';gatherTrackers();" accesKey="{$APP.LBL_SAVE_BUTTON_TITLE}" type="{$HIDE_CONTINUE}" name="button" value="{$MOD.LBL_SAVE_CONTINUE_BUTTON_LABEL}" ><input id="wiz_submit_finish_button" class="button" onclick="this.form.action.value='WizardNewsletterSave';this.form.direction.value='exit';gatherTrackers();" accesKey="{$APP.LBL_SAVE_BUTTON_TITLE}" type="submit" name="button" value="{$MOD.LBL_SAVE_EXIT_BUTTON_LABEL}" >
67 <td><div id="next_button_div"><input id="wiz_next_button" type='button' title="{$APP.LBL_NEXT_BUTTON_LABEL}" class="button" onclick="javascript:navigate('next');" name="button" value="{$APP.LBL_NEXT_BUTTON_LABEL}"></div></td>
70 <td align="right" width='70%'><div id='wiz_location_message'></td>
76 <table class='other view' cellspacing="1">
78 <td scope='row' rowspan='2' width="10%" style="vertical-align: top;">
85 <td class='edit view' rowspan='2' width='100%'>
86 <div id="wiz_message"></div>
98 <script type="text/javascript" src="{sugar_getjspath file="include/javascript/popup_parent_helper.js"}"></script>
99 <script type="text/javascript" src="{sugar_getjspath file="modules/Campaigns/wizard.js"}"></script>
100 <script type='text/javascript' src="{sugar_getjspath file="cache/include/javascript/sugar_grp_overlib.js"}"></script>
101 <div id='overDiv' style='position:absolute; visibility:hidden; z-index:1000;'></div>
106 <script language="javascript">