]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/MergeRecords/Step1.html
Release 6.4.0
[Github/sugarcrm.git] / modules / MergeRecords / Step1.html
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 <!-- BEGIN: main -->
42 {MOD.LBL_STEP1_DIRECTIONS}
43 <br><br>
44 <script type="text/javascript">
45         var bean_data={BEANDATA};
46         var site_url="{URL}";
47         var delete_inline_image="{DELETE_INLINE_IMAGE}";
48         var operator_options={OPERATOR_OPTIONS};
49 </script>
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"/>
61
62         <table cellpadding="0" cellspacing="0" border="0" width="100%">
63                 <tr>
64                         <td><input title="{MOD.LBL_NEXT_STEP_TITLE}" accessKey="{MOD.LBL_NEXT_STEP_BUTTON_KEY}" 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>
66                 </tr>
67         </table>
68
69         <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list view">
70         <!-- BEGIN: select_module -->
71                 <tr>
72                         <td width="45%"><slot>{MOD.LBL_SELECT_MODULE}:</slot></td>
73                         <td width="5%"><slot>&nbsp;</slot></td>
74                         <td width="50%"><slot>&nbsp;</slot></td>
75                 </tr>
76                 <tr>
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>&nbsp;</slot></td>
79                         <td width="50%"><slot>&nbsp;</slot></td>
80                 </tr>
81         <!-- END: select_module -->
82                 <tr>
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">
87                                                 <tr>
88                                                         <td width="25%" align="left"  >{MOD.LBL_AVAIL_FIELDS}:</td>
89                                                         <td width="2%"  >&nbsp;</td>
90                                                         <td width="73%"  >{MOD.LBL_FILTER_COND}:</td>
91                                                 </tr>
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;">
95                                                         <div align="center">
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}">
98                                                                 </a>
99                                                         </div>
100                                                         </td>
101                                                         <td align="left"><div  id='filter_def' width="100%" align="left">{PRE_LOADED_FIELDS}</div>
102                                                         </td>
103                                                 </tr>
104                                 </table>
105         <!-- END: field_select_block -->
106                                 </div>
107                         </td>
108                 </tr>
109         </table>
110
111 </form>
112
113 {JAVASCRIPT}
114 <script type="text/javascript">
115
116 function check_selected_module()
117 {
118         if(document.StartDedup.selected_module.value =='') {
119                 alert("Please select a module to work with.");
120                 document.StartDedup.selected_module.focus();
121                 return false;
122         } else { return true; }
123 }
124
125 function grab_fields()
126 {
127 }
128 </script>
129 <script type="text/javascript" src="modules/MergeRecords/Merge.js?v={VERSION_MARK}"></script>
130 <!-- END: main -->