]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Emails/templates/outboundDialog.tpl
Release 6.1.5
[Github/sugarcrm.git] / modules / Emails / templates / outboundDialog.tpl
1 {*
2 /*********************************************************************************
3  * SugarCRM 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 <div id="outboundServers">
39         <form id="outboundEmailForm">
40                 <input type="hidden" id="mail_id" name="mail_id">
41                 <input type="hidden" id="type" name="type" value="user">
42                 <input type="hidden" id="mail_sendtype" name="mail_sendtype" value="SMTP">
43
44                 <table width="100%" border="0" cellspacing="1" cellpadding="0" class="edit view">
45                     <tr>
46                                 <td scope="row" width="15%" NOWRAP>
47                                         {$app_strings.LBL_EMAIL_ACCOUNTS_NAME}:
48                                         <span class="required">
49                                                 {$app_strings.LBL_REQUIRED_SYMBOL}
50                                         </span>
51                                 </td>
52                                 <td  width="35%">
53                                         <input type="text" class="input" id="mail_name" name="mail_name" size="25" maxlength="64">
54                                 </td>
55                         </tr>
56                         <tr id="chooseEmailProviderTD">
57                 <td align="left" scope="row" colspan="4">{sugar_translate module='Emails' label='LBL_CHOOSE_EMAIL_PROVIDER'}</td>
58             </tr>
59             <tr id="smtpButtonGroupTD">
60                 <td colspan="4">
61                     <div id="smtpButtonGroup" class="yui-buttongroup">
62                         <span id="gmail" class="yui-button yui-radio-button">
63                             <span class="first-child">
64                                 <button type="button" name="mail_smtptype" value="gmail">
65                                     &nbsp;&nbsp;&nbsp;&nbsp;{$app_strings.LBL_SMTPTYPE_GMAIL}&nbsp;&nbsp;&nbsp;&nbsp;
66                                 </button>
67                             </span>
68                         </span>
69                         <span id="yahoomail" class="yui-button yui-radio-button">
70                             <span class="first-child">
71                                 <button type="button" name="mail_smtptype" value="yahoomail">
72                                     &nbsp;&nbsp;&nbsp;&nbsp;{$app_strings.LBL_SMTPTYPE_YAHOO}&nbsp;&nbsp;&nbsp;&nbsp;
73                                 </button>
74                             </span>
75                         </span>
76                         <span id="exchange" class="yui-button yui-radio-button">
77                             <span class="first-child">
78                                 <button type="button" name="mail_smtptype" value="exchange">
79                                     &nbsp;&nbsp;&nbsp;&nbsp;{$app_strings.LBL_SMTPTYPE_EXCHANGE}&nbsp;&nbsp;&nbsp;&nbsp;
80                                 </button>
81                             </span>
82                         </span>
83                         <span id="other" class="yui-button yui-radio-button yui-button-checked">
84                             <span class="first-child">
85                                 <button type="button" name="mail_smtptype" value="other">
86                                     &nbsp;&nbsp;&nbsp;&nbsp;{$app_strings.LBL_TABGROUP_OTHER}&nbsp;&nbsp;&nbsp;&nbsp;
87                                 </button>
88                             </span>
89                         </span>
90                     </div>
91                 </td>
92             </tr>
93             <tr>
94                 <td colspan="4">
95                     <div id="smtp_settings">
96                         <table width="100%" cellpadding="0" cellspacing="1">
97                             <tr id="mailsettings1">
98                                 <td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpserver_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPSERVER'}</span> <span class="required" id="required_mail_smtpserver">{$app_strings.LBL_REQUIRED_SYMBOL}</span></td>
99                                 <td width="30%" ><slot><input type="text" id="mail_smtpserver" name="mail_smtpserver" tabindex="1" size="25" maxlength="64"></slot></td>
100                                 <td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpport_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPPORT'}</span></td>
101                                 <td width="30%" ><input type="text" id="mail_smtpport" name="mail_smtpport" tabindex="1" size="5" maxlength="5"></td>
102                             </tr>
103                             <tr id="mailsettings2">
104                                 <td width="20%" scope="row"><span id='mail_smtpauth_req_label'>{sugar_translate module='Emails' label='LBL_MAIL_SMTPAUTH_REQ'}</span></td>
105                                 <td width="30%">
106                                     <input id='mail_smtpauth_req' name='mail_smtpauth_req' type="checkbox" class="checkbox" value="1" tabindex='1'
107                                         onclick="javascript:SUGAR.email2.accounts.smtp_authenticate_field_display();">
108                                 </td>
109                                 <td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpssl_label">{$app_strings.LBL_EMAIL_SMTP_SSL_OR_TLS}</span></td>
110                                 <td width="30%">
111                                 <select id="mail_smtpssl" name="mail_smtpssl" tabindex="501">{$MAIL_SSL_OPTIONS}</select>
112                                 </td>
113                             </tr>
114                             <tr id="smtp_auth1">
115                                 <td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpuser_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPUSER'}</span> <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span></td>
116                                 <td width="30%" ><slot><input type="text" id="mail_smtpuser" name="mail_smtpuser" size="25" maxlength="64" tabindex='1' ></slot></td>
117                                 <td >&nbsp;</td>
118                                 <td >&nbsp;</td>
119                             </tr>
120                             <tr id="smtp_auth2">
121                                 <td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtppass_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPPASS'}</span> <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span></td>
122                                 <td width="30%" ><slot>
123                                 <input type="password" id="mail_smtppass" name="mail_smtppass" size="25" maxlength="64" abindex='1'>
124                                 <a href="javascript:void(0)" id='mail_smtppass_link' onClick="SUGAR.util.setEmailPasswordEdit('mail_smtppass')" style="display: none">{$app_strings.LBL_CHANGE_PASSWORD}</a>
125                                 </slot></td>
126                                 <td >&nbsp;</td>
127                                 <td >&nbsp;</td>
128                             </tr>
129                         </table>
130                      </div>
131                 </td>
132             </tr>
133                         <tr>
134                                 <td colspan="2">
135                                     <input type="button" class="button" value="   {$app_strings.LBL_EMAIL_DONE_BUTTON_LABEL}   " onclick="javascript:SUGAR.email2.accounts.saveOutboundSettings();">&nbsp;
136                                     <input type="button" class="button" value="   {$app_strings.LBL_EMAIL_TEST_OUTBOUND_SETTINGS}   " onclick="javascript:SUGAR.email2.accounts.testOutboundSettingsDialog();">&nbsp;
137                                 </td>
138                         </tr>
139                 </table>
140         </form>
141 </div>