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 ********************************************************************************/
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="">
46 <table border="0" cellspacing="0" cellpadding="0" class="edit view">
49 <h4>{$mod_strings.LBL_EMAIL_SETTINGS_INBOUND}</h4>
51 <td style="vertical-align:bottom;"><a href="javascript:void(0);" id="prefill_gmail_defaults_link" onclick="javascript:SUGAR.email2.accounts.fillInboundGmailDefaults();">{$app_strings.LBL_EMAIL_ACCOUNTS_GMAIL_DEFAULTS}</a> </td>
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>
57 <td valign="top" width="35%">
58 <input id='ie_name' name='ie_name' type="text" size="30">
62 <td valign="top" scope="row">
63 {$ie_mod_strings.LBL_LOGIN}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
66 <input id='email_user' name='email_user' size='30' maxlength='100' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">
71 <td valign="top" scope="row">
72 {$ie_mod_strings.LBL_PASSWORD}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
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>
81 <td valign="top" scope="row" NOWRAP>
82 {$ie_mod_strings.LBL_SERVER_URL}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
85 <input id='server_url' name='server_url' size='30' maxlength='100' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">
89 <td valign="top" scope="row" NOWRAP>
90 {$ie_mod_strings.LBL_SERVER_TYPE}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
93 <select name='protocol' id="protocol" onchange="SUGAR.email2.accounts.setPortDefault(); SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">{$PROTOCOL}</select>
97 <td valign="top" scope="row" NOWRAP>
98 {$ie_mod_strings.LBL_SSL}:
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>
103 <td valign="top" width="15%">
105 <input name='ssl' id='ssl' {$CERT} value='1' type='checkbox' {$SSL} onClick="SUGAR.email2.accounts.setPortDefault();">
110 <td valign="top" scope="row" NOWRAP>
111 {$ie_mod_strings.LBL_PORT}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
114 <input name='port' id='port' size='10' onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">
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>
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}" />
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>
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}" />
135 <tr id="sentFolderdiv" style="dispay:'none';">
136 <td valign="top" scope="row" NOWRAP>
137 {$ie_mod_strings.LBL_SENT_FOLDER}:
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}" />
145 <td NOWRAP colspan="2" style="padding-bottom: 15px">
146 <input title="{$ie_mod_strings.LBL_TEST_BUTTON_TITLE}"
149 onClick='SUGAR.email2.accounts.testSettings();'
150 name="button" id="testButton" value=" {$ie_mod_strings.LBL_TEST_SETTINGS} ">
154 <tr><td> </td></tr>
156 <table border="0" cellspacing="0" cellpadding="0" class="edit view" width="100%">
159 <h4>{$mod_strings.LBL_EMAIL_SETTINGS_OUTBOUND}</h4>
165 {$app_strings.LBL_EMAIL_SETTINGS_FROM_NAME}:
166 <span class="required">
167 {$app_strings.LBL_REQUIRED_SYMBOL}
171 <input type="text" id="ie_from_name" name="from_name" size="30" maxlength="64" value="">
177 {$app_strings.LBL_EMAIL_SETTINGS_FROM_ADDR}:
178 <span class="required">
179 {$app_strings.LBL_REQUIRED_SYMBOL}
183 <input type="text" id="ie_from_addr" name="from_addr" size="30" maxlength="64" value="">
189 {$app_strings.LBL_EMAIL_SETTINGS_REPLY_TO_ADDR}:
192 <input type="text" id="reply_to_addr" name="reply_to_addr" size="30" maxlength="64" value="">
197 {$mod_strings.LBL_EMAIL_SETTINGS_OUTBOUND_ACCOUNT}:
198 <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
201 <select name='outbound_email' id='outbound_email' onchange="SUGAR.email2.accounts.checkOutBoundSelection()"></select>
204 <tr class="yui-hidden" id="inboundAccountRequiredUsername">
206 {$app_strings.LBL_EMAIL_ACCOUNTS_SMTPUSER}:
207 <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
210 <input type="text" id="inbound_mail_smtpuser" name="mail_smtpuser" size="30" maxlength="64">
213 <tr class="yui-hidden" id="inboundAccountRequiredPassword">
215 {$app_strings.LBL_EMAIL_ACCOUNTS_SMTPPASS}:
216 <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
219 <input type="password" id="inbound_mail_smtppass" name="mail_smtppass" size="30" maxlength="64">
223 <tr><td style="padding: 0px !important;"colspan="2"> </td></tr>
225 <tr style="padding-bottom: 25px;padding-top:15px;">
226 <td scope="row" colspan="2">
227 <input title="{$ie_mod_strings.LBL_EMAIL_SAVE}"
229 accessKey="{$app_strings.LBL_SAVE_BUTTON_KEY}"
231 onClick='SUGAR.email2.accounts.saveIeAccount();'
232 name="button" id="saveButton" value=" {$app_strings.LBL_EMAIL_DONE_BUTTON_LABEL} ">
234 <input title="{$app_strings.LBL_EMAIL_SETTINGS_ADD_ACCOUNT}"
237 onClick='SUGAR.email2.accounts.clearInboundAccountEditScreen();SE.accounts.setPortDefault();'
238 name="button" id="clearButton" value=" {$app_strings.LBL_EMAIL_SETTINGS_ADD_ACCOUNT} ">
242 <tr><td> </td></tr>