]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Import/tpls/last.tpl
Release 6.4.0
[Github/sugarcrm.git] / modules / Import / tpls / last.tpl
1 {*
2
3 /*********************************************************************************
4  * SugarCRM Community Edition is a customer relationship management program developed by
5  * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
6  * 
7  * This program is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU Affero General Public License version 3 as published by the
9  * Free Software Foundation with the addition of the following permission added
10  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
11  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
12  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
13  * 
14  * This program is distributed in the hope that it will be useful, but WITHOUT
15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
17  * details.
18  * 
19  * You should have received a copy of the GNU Affero General Public License along with
20  * this program; if not, see http://www.gnu.org/licenses or write to the Free
21  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22  * 02110-1301 USA.
23  * 
24  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
25  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
26  * 
27  * The interactive user interfaces in modified source and object code versions
28  * of this program must display Appropriate Legal Notices, as required under
29  * Section 5 of the GNU Affero General Public License version 3.
30  * 
31  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
32  * these Appropriate Legal Notices must retain the display of the "Powered by
33  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
34  * technical reasons, the Appropriate Legal Notices must display the words
35  * "Powered by SugarCRM".
36  ********************************************************************************/
37
38 *}
39
40 {literal}
41 <style>
42     #tabListContainer ul.subpanelTablist li a.current
43     {
44         padding-left: 10px;
45     }
46 div.resultsTable {
47     overflow: auto;
48     width: 1056px;
49     padding-top: 20px;
50     position: relative;
51 }
52 </style>
53 {/literal}
54
55 <h2>
56         <p>{$MOD.LBL_SUMMARY}</p>
57 </h2>
58 <br/>
59 <span style="font-size: 14px">
60 {if $createdCount > 0}
61 <b>{$createdCount}</b>&nbsp;{$MOD.LBL_SUCCESSFULLY_IMPORTED}<br />
62 {/if}
63 {if $updatedCount > 0}
64 <b>{$updatedCount}</b>&nbsp;{$MOD.LBL_UPDATE_SUCCESSFULLY}<br />
65 {/if}
66 {if $errorCount > 0}
67 <b>{$errorCount}</b>&nbsp;{$MOD.LBL_RECORDS_SKIPPED_DUE_TO_ERROR}<br />
68 {/if}
69 {if $dupeCount > 0}
70 <b>{$dupeCount}</b>&nbsp;{$MOD.LBL_DUPLICATES}<br />
71 {/if}
72 </span>
73 <form name="importlast" id="importlast" method="POST" action="index.php">
74 <input type="hidden" name="module" value="Import">
75 <input type="hidden" name="action" value="Undo">
76 <input type="hidden" name="has_header" value="{$smarty.request.has_header}">
77 <input type="hidden" name="import_module" value="{$IMPORT_MODULE}">
78
79 <br />
80
81 <table width="100%" cellpadding="0" cellspacing="0" border="0">
82     <tr>
83         <td align="left" style="padding-bottom: 2px;">
84         {if $showUndoButton}
85             <input title="{$MOD.LBL_UNDO_LAST_IMPORT}" accessKey="" class="button"
86                 type="submit" name="undo" id="undo" value="  {$MOD.LBL_UNDO_LAST_IMPORT}  ">
87         {/if}
88         <input title="{$MOD.LBL_IMPORT_MORE}" accessKey="" class="button" type="submit" name="importmore" id="importmore" value="  {$MOD.LBL_IMPORT_MORE}  ">
89         <input title="{$MOD.LBL_FINISHED}{$MODULENAME}" accessKey="" class="button" type="submit" name="finished" id="finished" value="  {$MOD.LBL_IMPORT_COMPLETE}  ">
90             {$PROSPECTLISTBUTTON}
91         </td>
92     </tr>
93 </table>
94 </form>
95
96 <br/>
97     
98 <table width="100%" id="tabListContainerTable" cellpadding="0" cellspacing="0" border="0">
99     <tr>
100         <td nowrap id="tabListContainerTD">
101             <div id="tabListContainer" class="yui-module yui-scroll">
102                 <div class="yui-hd">
103                     <span class="yui-scroll-controls" style="visibility:hidden">
104                         <a title="scroll left" class="yui-scrollup"><em>scroll left</em></a>
105                         <a title="scroll right" class="yui-scrolldown"><em>scroll right</em></a>
106                     </span>
107                 </div>
108                 <div class="yui-bd">
109                     <ul class="subpanelTablist" id="tabList">
110                         <li id="pageNumIW_0" class="active" >
111                             <a id="pageNumIW_0_anchor" class="current" href="javascript:SUGAR.IV.togglePages('0');">
112                             <span id="pageNum_0_input_span" style="display:none;">
113                             <input type="hidden" id="pageNum_0_name_hidden_input" value="{$pageData.pageTitle}"/>
114                             <input type="text" id="pageNum_0_name_input" value="Testing" size="10"/>
115                             </span>
116                             <span id="pageNum_0_link_span" class="tabText">
117                             <span id="pageNum_0_title_text">{$MOD.LBL_CREATED_TAB}</span>
118                             </span>
119                             </a>
120                         </li>
121                         <li id="pageNumIW_1" >
122                             <a id="pageNumIW_1_anchor" class="" href="javascript:SUGAR.IV.togglePages('1');">
123                             <span id="pageNum_1_input_span" style="display:none;">
124                             <input type="hidden" id="pageNum_1_name_hidden_input" value="{$pageData.pageTitle}"/>
125                             <input type="text" id="pageNum_1_name_input" value="Testing" size="10"/>
126                             </span>
127                             <span id="pageNum_1_link_span" class="tabText">
128                             <span id="pageNum_1_title_text">{$MOD.LBL_DUPLICATE_TAB}</span>
129                             </span>
130                             </a>
131                         </li>
132                         <li id="pageNumIW_2" >
133                             <a id="pageNumIW_2_anchor" class="" href="javascript:SUGAR.IV.togglePages('2');">
134                             <span id="pageNum_2_input_span" style="display:none;">
135                             <input type="hidden" id="pageNum_2_name_hidden_input" value="{$pageData.pageTitle}"/>
136                             <input type="text" id="pageNum_2_name_input" value="Testing" size="10" />
137                             </span>
138                             <span id="pageNum_2_link_span" class="tabText">
139                             <span id="pageNum_2_title_text">{$MOD.LBL_ERROR_TAB}</span>
140                             </span>
141                             </a>
142                         </li>
143                     </ul>
144                 </div>
145             </div>
146             <div id="addPage" style="visibility: hidden">
147                 <a href='javascript:void(0)' id="add_page"></a>
148             </div>
149         </td>
150         <td nowrap id="dashletCtrlsTD">
151             <div id="dashletCtrls" style="margin:0;padding:0;"></div>
152         </td>
153     </tr>
154 </table>
155
156 <div style='width:100%'>
157     <div id="pageNumIW_0_div">{$RESULTS_TABLE}</div>
158     <div id="pageNumIW_1_div" style="display:none;" ><br/>
159         {if $dupeCount > 0}
160             <a href ="{$dupeFile}" target='_blank'>{$MOD.LNK_DUPLICATE_LIST}</a><br />
161         {/if}
162         <br/>
163         {$MOD.LBL_DUP_HELP}
164         <div id="dup_table" class="resultsTable">
165             {$DUP_TABLE}
166         </div>
167     </div>
168     <div id="pageNumIW_2_div" style="display: none;" ><br/>
169         {$MOD.LBL_ERROR_HELP}
170         {if $errorCount > 0}
171             <br/><br/>
172             <a href="{$errorFile}" target='_blank'>{$MOD.LNK_ERROR_LIST}</a><br />
173             <a href ="{$errorrecordsFile}" target='_blank'>{$MOD.LNK_RECORDS_SKIPPED_DUE_TO_ERROR}</a><br />
174         {/if}
175         <div id="errors_table" class="resultsTable">
176             {$ERROR_TABLE}
177         </div>
178     </div>
179 </div>
180
181 {if $PROSPECTLISTBUTTON != ''}
182 <form name="DetailView">
183     <input type="hidden" name="module" value="Prospects">
184     <input type="hidden" name="record" value="id">
185 </form>
186 {/if}