]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Emails/templates/editAccountDialogue.tpl
Release 6.4.0
[Github/sugarcrm.git] / modules / Emails / templates / editAccountDialogue.tpl
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 <form id="ieAccount" name="ieAccount">
39                                 <input type="hidden" id="ie_id" name="ie_id">
40                                 <input type="hidden" id="ie_status" name="ie_status" value="Active">
41                                 <input type="hidden" id="ie_team" name="ie_team" value="{$ie_team}">
42                                 <input type="hidden" id="group_id" name="group_id">
43                                 <input type="hidden" id="group_id" name="mark_read" value="1">
44                                 <input type="hidden" name="searchField" value="">
45
46                         <table border="0" cellspacing="0" cellpadding="0" class="edit view">
47                                 <tr>
48                                         <td>
49                                         <h4>{$mod_strings.LBL_EMAIL_SETTINGS_INBOUND}</h4>
50                                         </td>
51                                     <td style="vertical-align:bottom;"><a href="javascript:void(0);" onclick="javascript:SUGAR.email2.accounts.fillInboundGmailDefaults();">{$app_strings.LBL_EMAIL_ACCOUNTS_GMAIL_DEFAULTS}</a>&nbsp;</td>
52                                 </tr>
53                             <tr>
54                                         <td valign="top" scope="row" width="15%" NOWRAP>
55                                                 {$app_strings.LBL_EMAIL_SETTINGS_NAME}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
56                                         </td>
57                                         <td valign="top"  width="35%">
58                                                 <input id='ie_name' name='ie_name' type="text" size="30">
59                                         </td>
60                                 </tr>
61                             <tr>
62                                         <td valign="top" scope="row">
63                                                 {$ie_mod_strings.LBL_LOGIN}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>&nbsp;
64                                         </td>
65                                         <td valign="top" >
66                                                 <input id='email_user' name='email_user' size='30' maxlength='100' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">
67                                         </td>
68                             </tr>
69
70                             <tr>
71                                         <td valign="top" scope="row">
72                                                 {$ie_mod_strings.LBL_PASSWORD}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>&nbsp;
73                                         </td>
74                                         <td valign="top" >
75                                                 <input id='email_password' name='email_password' size='30' maxlength='100' type="password" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">
76                                                 <a href="javascript:void(0)" id='email_password_link' onClick="SUGAR.util.setEmailPasswordEdit('email_password')" style="display: none">{$app_strings.LBL_CHANGE_PASSWORD}</a>
77                                         </td>
78                             </tr>
79
80                              <tr>
81                     <td valign="top" scope="row" NOWRAP>
82                         {$ie_mod_strings.LBL_SERVER_URL}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>&nbsp;
83                     </td>
84                     <td valign="top" >
85                         <input id='server_url' name='server_url' size='30' maxlength='100' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">
86                     </td>
87                 </tr>
88                             <tr>
89                                         <td valign="top" scope="row" NOWRAP>
90                                                 {$ie_mod_strings.LBL_SERVER_TYPE}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>&nbsp;
91                                         </td>
92                                         <td valign="top" >
93                                                 <select name='protocol' id="protocol" onchange="SUGAR.email2.accounts.setPortDefault(); SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">{$PROTOCOL}</select>
94                                         </td>
95                                 </tr>
96                                 <tr>
97                                         <td valign="top" scope="row" NOWRAP>
98                                                 {$ie_mod_strings.LBL_SSL}:&nbsp;
99                         <div id="rollover">
100                             <a href="#" class="rollover">{sugar_getimage alt=$mod_strings.LBL_HELP name="helpInline" ext=".gif" other_attributes='border="0" '}<span>{$ie_mod_strings.LBL_SSL_DESC}</span></a>
101                         </div>
102                                         </td>
103                                         <td valign="top"  width="15%">
104                                            <div class="maybe">
105                                                    <input name='ssl' id='ssl' {$CERT} value='1' type='checkbox' {$SSL} onClick="SUGAR.email2.accounts.setPortDefault();">
106                                            </div>
107                                         </td>
108                                 </tr>
109                                 <tr>
110                                         <td valign="top" scope="row" NOWRAP>
111                                                 {$ie_mod_strings.LBL_PORT}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>&nbsp;
112                                         </td>
113                                         <td valign="top" >
114                                                 <input name='port' id='port' size='10' onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">
115                                         </td>
116                                 </tr>
117                              <tr id="mailboxdiv" style="dispay:'none';">
118                     <td valign="top" scope="row" NOWRAP>
119                         {$ie_mod_strings.LBL_MAILBOX}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>&nbsp;
120                     </td>
121                     <td valign="top" >
122                         <input id='mailbox' value="" name='mailbox' size='30' maxlength='500' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);" />
123                                         <input type="button" id="subscribeFolderButton" name="subscribeFolderButton" class="button" onclick='this.form.searchField.value="";SUGAR.email2.accounts.getFoldersListForInboundAccountForEmail2();' value="{$app_strings.LBL_EMAIL_SELECT}" />
124                     </td>
125                 </tr>
126                              <tr id="trashFolderdiv" style="dispay:'none';">
127                     <td valign="top" scope="row" NOWRAP>
128                         {$ie_mod_strings.LBL_TRASH_FOLDER}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>&nbsp;
129                     </td>
130                     <td valign="top" >
131                         <input id='trashFolder' value="" name='trashFolder' size='30' maxlength='100' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);" />
132                                         <input type="button" id="trashFolderButton" name="trashFolderButton" class="button" onclick='this.form.searchField.value="trash";SUGAR.email2.accounts.getFoldersListForInboundAccountForEmail2();' value="{$app_strings.LBL_EMAIL_SELECT}" />
133                     </td>
134                 </tr>
135                              <tr id="sentFolderdiv" style="dispay:'none';">
136                     <td valign="top" scope="row" NOWRAP>
137                         {$ie_mod_strings.LBL_SENT_FOLDER}: &nbsp;
138                     </td>
139                     <td valign="top" >
140                         <input id='sentFolder' value="" name='sentFolder' size='30' maxlength='100' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);" />
141                                         <input type="button" id="sentFolderButton" name="sentFolderButton" class="button" onclick='this.form.searchField.value="sent";SUGAR.email2.accounts.getFoldersListForInboundAccountForEmail2();' value="{$app_strings.LBL_EMAIL_SELECT}" />
142                     </td>
143                 </tr>
144                             <tr>
145                                         <td NOWRAP colspan="2" style="padding-bottom: 15px">
146                                 <input title="{$ie_mod_strings.LBL_TEST_BUTTON_TITLE}"
147                                                         type='button'
148                                                         accessKey="{$ie_mod_strings.LBL_TEST_BUTTON_KEY}"
149                                                         class="button"
150                                                         onClick='SUGAR.email2.accounts.testSettings();'
151                                                         name="button" id="testButton" value="  {$ie_mod_strings.LBL_TEST_SETTINGS}  ">
152                                                 &nbsp;
153                                     </td>
154                         </tr>
155                         <tr><td>&nbsp;</td></tr>
156                         </table>
157                         <table border="0" cellspacing="0" cellpadding="0" class="edit view" width="100%">
158                         <tr>
159                                         <td colspan="2">
160                                         <h4>{$mod_strings.LBL_EMAIL_SETTINGS_OUTBOUND}</h4>
161                                         </td>
162                                 </tr>
163
164                         <tr>
165                                 <td scope="row">
166                                         {$app_strings.LBL_EMAIL_SETTINGS_FROM_NAME}:
167                                         <span class="required">
168                                                 {$app_strings.LBL_REQUIRED_SYMBOL}
169                                         </span>
170                                 </td>
171                                 <td >
172                                         <input type="text" id="ie_from_name" name="from_name" size="30" maxlength="64" value="">
173                                 </td>
174                         </tr>
175
176                         <tr>
177                                 <td scope="row">
178                                         {$app_strings.LBL_EMAIL_SETTINGS_FROM_ADDR}:
179                                         <span class="required">
180                                                 {$app_strings.LBL_REQUIRED_SYMBOL}
181                                         </span>
182                                 </td>
183                                 <td >
184                                         <input type="text" id="ie_from_addr" name="from_addr" size="30" maxlength="64" value="">
185                                 </td>
186                         </tr>
187
188                         <tr>
189                                 <td scope="row">
190                                         {$app_strings.LBL_EMAIL_SETTINGS_REPLY_TO_ADDR}:
191                                 </td>
192                                 <td >
193                                         <input type="text" id="reply_to_addr" name="reply_to_addr" size="30" maxlength="64" value="">
194                                 </td>
195                         </tr>
196                         <tr>
197                                 <td scope="row">
198                                         {$mod_strings.LBL_EMAIL_SETTINGS_OUTBOUND_ACCOUNT}:
199                                                 <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
200                                 </td>
201                                 <td >
202                                         <select name='outbound_email' id='outbound_email' onchange="SUGAR.email2.accounts.checkOutBoundSelection()"></select>
203                                 </td>
204                         </tr>
205                         <tr class="yui-hidden" id="inboundAccountRequiredUsername">
206                                 <td scope="row">
207                                         {$app_strings.LBL_EMAIL_ACCOUNTS_SMTPUSER}:
208                                                 <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
209                                 </td>
210                                 <td >
211                                         <input type="text" id="inbound_mail_smtpuser" name="mail_smtpuser" size="30" maxlength="64">
212                                 </td>
213                         </tr>
214                         <tr class="yui-hidden" id="inboundAccountRequiredPassword">
215                                 <td scope="row">
216                                         {$app_strings.LBL_EMAIL_ACCOUNTS_SMTPPASS}:
217                                                 <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
218                                 </td>
219                                 <td >
220                                         <input type="password" id="inbound_mail_smtppass" name="mail_smtppass" size="30" maxlength="64">
221                                 </td>
222                         </tr>
223
224                         <tr><td style="padding: 0px !important;"colspan="2">&nbsp;</td></tr>
225
226                         <tr  style="padding-bottom: 25px;padding-top:15px;">
227                                         <td scope="row" colspan="2">
228                                         <input title="{$ie_mod_strings.LBL_EMAIL_SAVE}"
229                                                         type='button'
230                                                         accessKey="s"
231                                                         class="button"
232                                                         onClick='SUGAR.email2.accounts.saveIeAccount();'
233                                                         name="button" id="saveButton" value="  {$app_strings.LBL_EMAIL_DONE_BUTTON_LABEL}  ">
234                                            &nbsp;
235                                            <input title="{$app_strings.LBL_EMAIL_SETTINGS_ADD_ACCOUNT}"
236                         type='button'
237                         accessKey="n"
238                         class="button"
239                         onClick='SUGAR.email2.accounts.clearInboundAccountEditScreen();SE.accounts.setPortDefault();'
240                         name="button" id="clearButton" value="  {$app_strings.LBL_EMAIL_SETTINGS_ADD_ACCOUNT}  ">
241                                                 &nbsp;
242                                         </td>
243                                 </tr>
244                   <tr><td>&nbsp;</td></tr>
245 </table>
246 </form>