2 /*********************************************************************************
3 * SugarCRM Community Edition is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2011 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 ********************************************************************************/
37 /*********************************************************************************
39 ********************************************************************************/
41 <script type='text/javascript' src='{sugar_getjspath file='modules/Users/DetailView.js'}'></script>
42 <script type="text/javascript" src="{sugar_getjspath file='include/javascript/sugar_grp_yui_widgets.js'}"></script>
43 <script type='text/javascript'>
44 var LBL_NEW_USER_PASSWORD = '{$MOD.LBL_NEW_USER_PASSWORD_2}';
47 YAHOO.SUGAR.MessageBox.show({title: '{/literal}{$ERROR_MESSAGE}{literal}', msg: '{/literal}{$ERRORS}{literal}'} );
52 <script type="text/javascript">
53 var user_detailview_tabs = new YAHOO.widget.TabView("user_detailview_tabs");
56 user_detailview_tabs.on('contentReady', function(e){
61 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="actionsContainer">
65 <form action="index.php" method="post" name="DetailView" id="form">
66 <input type="hidden" name="module" value="Users">
67 <input type="hidden" name="record" value="{$ID}">
68 <input type="hidden" name="isDuplicate" value=false>
69 <input type="hidden" name="action">
70 <input type="hidden" name="user_name" value="{$USER_NAME}">
71 <input type="hidden" name="password_generate">
72 <input type="hidden" name="old_password">
73 <input type="hidden" name="new_password">
74 <input type="hidden" name="return_module">
75 <input type="hidden" name="return_action">
76 <input type="hidden" name="return_id">
77 <table width="100%" cellpadding="0" cellspacing="0" border="0">
79 <tr><td colspan='2' width="100%" nowrap>{$BUTTONS}</td></tr>
85 <table width="100%" border="0" cellspacing="0" cellpadding="0">
91 <div id="user_detailview_tabs" class="yui-navset detailview_tabs">
93 <li class="selected"><a id="tab1" href="#tab1"><em>{$MOD.LBL_USER_INFORMATION}</em></a></li>
94 <li {if $IS_GROUP_OR_PORTAL == 1}style="display: none;"{/if}><a id="tab2" href="#tab2"><em>{$MOD.LBL_ADVANCED}</em></a></li>
96 <li><a id="tab3" href="#tab3"><em>{$MOD.LBL_USER_ACCESS}</em></a></li>
99 <div class="yui-content">
101 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
103 <td width="15%" valign="top" scope="row"><slot>{$MOD.LBL_NAME}:</slot></td>
104 <td width="35%" valign="top"><slot>{$FULL_NAME} </slot></td>
105 <td width="15%" valign="top" scope="row"><slot>{$MOD.LBL_USER_NAME}:</slot></td>
106 <td width="35%" valign="top"><slot>{$USER_NAME} </slot></td>
109 <td valign="top" scope="row"><slot>{$MOD.LBL_STATUS}:</slot></td>
110 <td valign="top"><slot>{$STATUS} </slot></td>
111 <td valign="top" scope="row"><slot>{$MOD.LBL_USER_TYPE}:</slot></td>
112 <td valign="top" ><slot>{$USER_TYPE_LABEL} </slot></td>
116 <div id='information'>
117 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
119 <th colspan='4' align="left" width="100%" valign="top"><h4><slot>{$MOD.LBL_USER_INFORMATION}</slot></h4></th>
121 <td width="15%" valign="top" scope="row"><slot>{$MOD.LBL_EMPLOYEE_STATUS}:</slot></td>
122 <td width="35%" valign="top"><slot>{$EMPLOYEE_STATUS} </slot></td>
123 <td valign="top" scope="row"><slot> </slot></td>
124 <td valign="top"><slot> </slot></td>
126 <td width="15%" valign="top" scope="row"><slot>{$MOD.LBL_TITLE}:</slot></td>
127 <td width="35%" valign="top"><slot>{$TITLE} </slot></td>
128 <td width="15%" valign="top" scope="row"><slot>{$MOD.LBL_OFFICE_PHONE}:</slot></td>
129 <td width="35%" valign="top"><slot>{$PHONE_WORK} </slot></td>
131 <td valign="top" scope="row"><slot>{$MOD.LBL_DEPARTMENT}:</slot></td>
132 <td valign="top"><slot>{$DEPARTMENT} </slot></td>
133 <td valign="top" scope="row"><slot>{$MOD.LBL_MOBILE_PHONE}:</slot></td>
134 <td valign="top"><slot>{$PHONE_MOBILE} </slot></td>
136 <td valign="top" scope="row"><slot>{$MOD.LBL_REPORTS_TO}:</slot></td>
137 <td valign="top"><slot><a href="index.php?module=Users&action=DetailView&record={$REPORTS_TO_ID}">{$REPORTS_TO_NAME}</a> </slot></td>
138 <td valign="top" scope="row"><slot>{$MOD.LBL_OTHER}:</slot></td>
139 <td valign="top"><slot>{$PHONE_OTHER} </slot></td>
141 <td valign="top" scope="row"><slot> </slot></td>
142 <td valign="top"><slot> </slot></td>
143 <td valign="top" scope="row"><slot>{$MOD.LBL_FAX}:</slot></td>
144 <td valign="top"><slot>{$PHONE_FAX} </slot></td>
147 <td valign="top" scope="row"><slot>{$MOD.LBL_HOME_PHONE}:</slot></td>
148 <td valign="top"><slot>{$PHONE_HOME} </slot></td>
149 <td valign="top" scope="row"><slot> </slot></td>
150 <td valign="top"><slot> </slot></td>
152 <td valign="top" scope="row"><slot>{$MOD.LBL_MESSENGER_TYPE}:</slot></td>
153 <td valign="top"><slot>{$MESSENGER_TYPE} </slot></td>
154 <td valign="top" scope="row"><slot> </slot></td>
155 <td valign="top"><slot> </slot></td>
157 <td valign="top" scope="row"><slot>{$MOD.LBL_MESSENGER_ID}:</slot></td>
158 <td valign="top"><slot>{$MESSENGER_ID} </slot></td>
159 <td valign="top" scope="row"><slot> </slot></td>
160 <td valign="top"><slot> </slot></td>
162 <td valign="top" scope="row"><slot>{$MOD.LBL_ADDRESS}:</slot></td>
163 <td valign="top" ><slot>{$ADDRESS_STREET}<br>
164 {$ADDRESS_CITY} {$ADDRESS_STATE} {$ADDRESS_POSTALCODE}<br>
165 {$ADDRESS_COUNTRY}</slot></td>
166 <td scope="row"><slot> </slot></td>
167 <td><slot> </slot></td>
169 <td valign="top" valign="top" scope="row"><slot>{$MOD.LBL_NOTES}:</slot></td>
170 <td><slot>{$DESCRIPTION} </slot></td>
171 <td width="15%" valign="top" scope="row"><slot> </slot></td>
172 <td width="35%" valign="top"><slot> </slot></td>
176 <div id='email_options'>
177 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
179 <th align="left" scope="row" colspan="4">
180 <h4>{$MOD.LBL_MAIL_OPTIONS_TITLE}</h4>
184 <td align="top" scope="row" width="15%">
187 <td align="top" width="85%">
191 <tr id="email_options_link_type">
192 <td align="top" scope="row">
193 {$MOD.LBL_EMAIL_LINK_TYPE}:
199 {if $SHOW_SMTP_SETTINGS}
201 <td scope="row" width="15%">
202 {$MOD.LBL_EMAIL_PROVIDER}:
209 <td align="top" scope="row">
210 {$MOD.LBL_MAIL_SMTPUSER}:
222 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
224 <th colspan='4' align="left" width="100%" valign="top"><h4><slot>{$MOD.LBL_USER_SETTINGS}</slot></h4></th>
227 <td scope="row"><slot>{$MOD.LBL_RECEIVE_NOTIFICATIONS}:</slot></td>
228 <td><slot><input class="checkbox" type="checkbox" disabled {$RECEIVE_NOTIFICATIONS}></slot></td>
229 <td><slot>{$MOD.LBL_RECEIVE_NOTIFICATIONS_TEXT} </slot></td>
232 <td scope="row" valign="top"><slot>{$MOD.LBL_REMINDER}:</td>
233 <td valign="top" nowrap><slot><input name='should_remind' tabindex='1' size='2' maxlength='2' disabled type="checkbox" class="checkbox" value='1' {$REMINDER_CHECKED}> {$REMINDER_TIME}</slot></td>
234 <td ><slot>{$MOD.LBL_REMINDER_TEXT} </slot></td>
238 <td valign="top" scope="row"><slot>{$MOD.LBL_MAILMERGE}:</slot></td>
239 <td valign="top" nowrap><slot><input tabindex='3' name='mailmerge_on' disabled class="checkbox" type="checkbox" {$MAILMERGE_ON}></slot></td>
240 <td><slot>{$MOD.LBL_MAILMERGE_TEXT} </slot></td>
243 <td valign="top" scope="row"><slot>{$MOD.LBL_SETTINGS_URL}:</slot></td>
244 <td valign="top" nowrap><slot>{$SETTINGS_URL}</slot></td>
245 <td><slot>{$MOD.LBL_SETTINGS_URL_DESC} </slot></td>
248 <td scope="row" valign="top"><slot>{$MOD.LBL_EXPORT_DELIMITER}:</slot></td>
249 <td><slot>{$EXPORT_DELIMITER}</slot></td>
250 <td><slot>{$MOD.LBL_EXPORT_DELIMITER_DESC}</slot></td>
253 <td scope="row" valign="top"><slot>{$MOD.LBL_EXPORT_CHARSET}:</slot></td>
254 <td><slot>{$EXPORT_CHARSET}</slot></td>
255 <td><slot>{$MOD.LBL_EXPORT_CHARSET_DESC}</slot></td>
258 <td scope="row" valign="top"><slot>{$MOD.LBL_USE_REAL_NAMES}:</slot></td>
259 <td><slot>{$USE_REAL_NAMES}</slot></td>
260 <td><slot>{$MOD.LBL_USE_REAL_NAMES_DESC}</slot></td>
267 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
269 <th colspan='4' align="left" width="100%" valign="top">
270 <h4><slot>{$MOD.LBL_USER_LOCALE}</slot></h4></th>
273 <td width="15%" scope="row"><slot>{$MOD.LBL_DATE_FORMAT}:</slot></td>
274 <td><slot>{$DATEFORMAT} </slot></td>
275 <td><slot>{$MOD.LBL_DATE_FORMAT_TEXT} </slot></td>
278 <td width="15%" scope="row"><slot>{$MOD.LBL_TIME_FORMAT}:</slot></td>
279 <td><slot>{$TIMEFORMAT} </slot></td>
280 <td><slot>{$MOD.LBL_TIME_FORMAT_TEXT} </slot></td>
283 <td width="15%" scope="row"><slot>{$MOD.LBL_TIMEZONE}:</slot></td>
284 <td nowrap><slot>{$TIMEZONE} </slot></td>
285 <td><slot>{$MOD.LBL_ZONE_TEXT} </slot></td>
288 <td width="15%" scope="row"><slot>{$MOD.LBL_CURRENCY}:</slot></td>
289 <td><slot>{$CURRENCY} </slot></td>
290 <td><slot>{$MOD.LBL_CURRENCY_TEXT} </slot></td>
293 <td width="15%" scope="row"><slot>{$MOD.LBL_CURRENCY_SIG_DIGITS}:</slot></td>
294 <td><slot>{$CURRENCY_SIG_DIGITS} </slot></td>
295 <td><slot>{$MOD.LBL_CURRENCY_SIG_DIGITS_DESC} </slot></td>
298 <td width="15%" scope="row"><slot>{$MOD.LBL_NUMBER_GROUPING_SEP}:</slot></td>
299 <td><slot>{$NUM_GRP_SEP} </slot></td>
300 <td><slot>{$MOD.LBL_NUMBER_GROUPING_SEP_TEXT} </slot></td>
302 <td width="15%" scope="row"><slot>{$MOD.LBL_DECIMAL_SEP}:</slot></td>
303 <td><slot>{$DEC_SEP} </slot></td>
304 <td><slot></slot>{$MOD.LBL_DECIMAL_SEP_TEXT} </td>
307 <td width="15%" scope="row"><slot>{$MOD.LBL_LOCALE_DEFAULT_NAME_FORMAT}:</slot></td>
308 <td><slot>{$NAME_FORMAT} </slot></td>
309 <td><slot></slot>{$MOD.LBL_LOCALE_NAME_FORMAT_DESC} </td>
315 <div id='calendar_options'>
316 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
318 <th colspan='4' align="left" width="100%" valign="top"><h4><slot>{$MOD.LBL_CALENDAR_OPTIONS}</slot></h4></th>
321 <td width="15%" scope="row"><slot>{$MOD.LBL_PUBLISH_KEY}:</slot></td>
322 <td width="20%"><slot>{$CALENDAR_PUBLISH_KEY} </slot></td>
323 <td width="65%"><slot>{$MOD.LBL_CHOOSE_A_KEY} </slot></td>
326 <td width="15%" scope="row"><slot><nobr>{$MOD.LBL_YOUR_PUBLISH_URL}:</nobr></slot></td>
327 <td colspan=2><slot>{$CALENDAR_PUBLISH_URL}</slot></td>
330 <td width="15%" scope="row"><slot>{$MOD.LBL_SEARCH_URL}:</slot></td>
331 <td colspan=2><slot>{$CALENDAR_SEARCH_URL}</slot></td>
336 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
338 <th colspan='4' align="left" width="100%" valign="top"><h4><slot>{$MOD.LBL_LAYOUT_OPTIONS}</slot></h4></th>
341 <td width="15%" scope="row"><slot>{$MOD.LBL_USE_GROUP_TABS}:</slot></td>
342 <td><slot><input class="checkbox" type="checkbox" disabled {$USE_GROUP_TABS}></slot></td>
343 <td><slot>{$MOD.LBL_NAVIGATION_PARADIGM_DESCRIPTION} </slot></td>
346 <td width="15%" scope="row"><slot>{$MOD.LBL_MAX_TAB}:</slot></td>
347 <td width="15%"><slot>{$MAX_TAB} </slot></td>
348 <td><slot>{$MOD.LBL_MAX_TAB_DESCRIPTION} </slot></td>
351 <td width="15%" scope="row"><slot>{$MOD.LBL_SUBPANEL_TABS}:</slot></td>
352 <td><slot><input class="checkbox" type="checkbox" disabled {$SUBPANEL_TABS}></slot></td>
353 <td><slot>{$MOD.LBL_SUBPANEL_TABS_DESCRIPTION} </slot></td>
357 <div id="user_holidays">
358 {$USER_HOLIDAYS_SUBPANEL}