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 ********************************************************************************/
42 {MOD.LBL_STEP1_DIRECTIONS}
44 <script type="text/javascript">
45 var bean_data={BEANDATA};
47 var delete_inline_image="{DELETE_INLINE_IMAGE}";
48 var operator_options={OPERATOR_OPTIONS};
50 <script src="include/javascript/quicksearch.js?v={VERSION_MARK}" type="text/javascript"></script>
51 <form name="DedupSetup" id="DedupSetup" method="POST" action="index.php">
52 <input type="hidden" name="module" value="MergeRecords"/>
53 <input type="hidden" name="merge_module" value="{MERGE_MODULE}"/>
54 <input type="hidden" name="record" value="{ID}"/>
55 <input type="hidden" name="action" value="Step2"/>
56 <input type="hidden" name="return_module" value="{RETURN_MODULE}"/>
57 <input type="hidden" name="return_id" value="{RETURN_ID}"/>
58 <input type="hidden" name="return_action" value="{RETURN_ACTION}"/>
59 <input type="hidden" name="dedup_fields" value=""/>
60 <input type="hidden" name="num_fields" value="0"/>
62 <table cellpadding="0" cellspacing="0" border="0" width="100%">
64 <td><input title="{MOD.LBL_NEXT_STEP_TITLE}" class="button" onclick="this.form.action.value='Step2';" type="submit" name="button" value=" {MOD.LBL_NEXT_STEP_BUTTON_LABEL} " > <input title="{APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value='{RETURN_ACTION}'; this.form.module.value='{RETURN_MODULE}'; this.form.record.value='{RETURN_ID}';" type="submit" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL} "></td>
65 <td align='right'>{ADMIN_EDIT}</td>
69 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list view">
70 <!-- BEGIN: select_module -->
72 <td width="45%"><slot>{MOD.LBL_SELECT_MODULE}:</slot></td>
73 <td width="5%"><slot> </slot></td>
74 <td width="50%"><slot> </slot></td>
77 <td width="45%"><slot><select name="selected_module" id="selected_module" onchange="grab_fields();">{MIGRATION_MODULE_OPTIONS}</select></slot></td>
78 <td width="5%"><slot> </slot></td>
79 <td width="50%"><slot> </slot></td>
81 <!-- END: select_module -->
83 <td width="100%" class="edit view" colspan="3">
84 <div id="field_select_block">
85 <!-- BEGIN: field_select_block -->
86 <table width="100%" border="0" cellspacing="0" cellpadding="0">
88 <td width="25%" align="left" >{MOD.LBL_AVAIL_FIELDS}:</td>
89 <td width="2%" > </td>
90 <td width="73%" >{MOD.LBL_FILTER_COND}:</td>
92 <tr id="multi_select_row">
93 <td id="field_avail_list_td"><slot><div align="left"><select name="field_avail_list[]" id="field_avail_list" multiple="multiple" size="10" >{FIELD_AVAIL_OPTIONS}</select></div></slot></td>
94 <td valign="top" style="padding-right: 2px; padding-left: 2px;">
96 <a onclick="javascript:setselected('field_include_list','field_avail_list');">
97 <img src='{RIGHTARROW_BIG_IMAGE}' width='16' height='16' border="0" style="margin-left: 1px;" alt="{LBL_ADD_BUTTON}">
101 <td align="left"><div id='filter_def' width="100%" align="left">{PRE_LOADED_FIELDS}</div>
105 <!-- END: field_select_block -->
114 <script type="text/javascript">
116 function check_selected_module()
118 if(document.StartDedup.selected_module.value =='') {
119 alert("Please select a module to work with.");
120 document.StartDedup.selected_module.focus();
122 } else { return true; }
125 function grab_fields()
129 <script type="text/javascript" src="modules/MergeRecords/Merge.js?v={VERSION_MARK}"></script>