]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Users/DetailView.tpl
Release 6.3.1
[Github/sugarcrm.git] / modules / Users / DetailView.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
39  ********************************************************************************/
40 -->
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}';
45 {if !empty($ERRORS)}
46 {literal}
47 YAHOO.SUGAR.MessageBox.show({title: '{/literal}{$ERROR_MESSAGE}{literal}', msg: '{/literal}{$ERRORS}{literal}'} );
48 {/literal}
49 {/if}
50 </script>
51
52 <script type="text/javascript">
53 var user_detailview_tabs = new YAHOO.widget.TabView("user_detailview_tabs");
54
55 {literal}
56 user_detailview_tabs.on('contentReady', function(e){
57 {/literal}
58 });
59 </script>
60
61 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="actionsContainer">
62 <tr>
63 <td>
64
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">
78
79     <tr><td colspan='2' width="100%" nowrap>{$BUTTONS}</td></tr>
80 </table>
81 </form>
82
83 </td>
84 <td width="100%">
85 <table width="100%" border="0" cellspacing="0" cellpadding="0">
86 {$PAGINATION}
87 </table>
88 </td>
89 </tr>
90 </table>
91 <div id="user_detailview_tabs" class="yui-navset detailview_tabs">
92     <ul class="yui-nav">
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>
95         {if $SHOW_ROLES}
96         <li><a id="tab3" href="#tab3"><em>{$MOD.LBL_USER_ACCESS}</em></a></li>
97         {/if}
98     </ul>
99     <div class="yui-content">
100         <div>
101             <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
102                 <tr>
103                     <td width="15%" valign="top" scope="row"><slot>{$MOD.LBL_NAME}:</slot></td>
104                     <td width="35%" valign="top"><slot>{$FULL_NAME}&nbsp;</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}&nbsp;</slot></td>
107                 </tr>
108                 <tr>
109                     <td valign="top" scope="row"><slot>{$MOD.LBL_STATUS}:</slot></td>
110                     <td valign="top"><slot>{$STATUS}&nbsp;</slot></td>
111                     <td valign="top" scope="row"><slot>{$MOD.LBL_USER_TYPE}:</slot></td>
112                     <td valign="top" ><slot>{$USER_TYPE_LABEL}&nbsp;</slot></td>
113                 </tr>
114             </table>
115
116             <div id='information'>
117                 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
118                 <tr>
119                 <th colspan='4' align="left" width="100%" valign="top"><h4><slot>{$MOD.LBL_USER_INFORMATION}</slot></h4></th>
120                 </tr><tr>
121                 <td width="15%" valign="top" scope="row"><slot>{$MOD.LBL_EMPLOYEE_STATUS}:</slot></td>
122                 <td width="35%" valign="top"><slot>{$EMPLOYEE_STATUS}&nbsp;</slot></td>
123                 <td valign="top" scope="row"><slot>&nbsp;</slot></td>
124                 <td valign="top"><slot>&nbsp;</slot></td>
125                 </tr><tr>
126                 <td width="15%" valign="top" scope="row"><slot>{$MOD.LBL_TITLE}:</slot></td>
127                 <td width="35%" valign="top"><slot>{$TITLE}&nbsp;</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}&nbsp;</slot></td>
130                 </tr><tr>
131                 <td valign="top" scope="row"><slot>{$MOD.LBL_DEPARTMENT}:</slot></td>
132                 <td valign="top"><slot>{$DEPARTMENT}&nbsp;</slot></td>
133                 <td valign="top" scope="row"><slot>{$MOD.LBL_MOBILE_PHONE}:</slot></td>
134                 <td valign="top"><slot>{$PHONE_MOBILE}&nbsp;</slot></td>
135                 </tr><tr>
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>&nbsp;</slot></td>
138                 <td valign="top" scope="row"><slot>{$MOD.LBL_OTHER}:</slot></td>
139                 <td valign="top"><slot>{$PHONE_OTHER}&nbsp;</slot></td>
140                 </tr><tr>
141                 <td valign="top" scope="row"><slot>&nbsp;</slot></td>
142                 <td valign="top"><slot>&nbsp;</slot></td>
143                 <td valign="top" scope="row"><slot>{$MOD.LBL_FAX}:</slot></td>
144                 <td valign="top"><slot>{$PHONE_FAX}&nbsp;</slot></td>
145                 </tr><tr>
146
147                 <td valign="top" scope="row"><slot>{$MOD.LBL_HOME_PHONE}:</slot></td>
148                 <td valign="top"><slot>{$PHONE_HOME}&nbsp;</slot></td>
149                 <td valign="top" scope="row"><slot>&nbsp;</slot></td>
150                 <td valign="top"><slot>&nbsp;</slot></td>
151                 </tr><tr>
152                 <td valign="top" scope="row"><slot>{$MOD.LBL_MESSENGER_TYPE}:</slot></td>
153                 <td valign="top"><slot>{$MESSENGER_TYPE}&nbsp;</slot></td>
154                 <td valign="top" scope="row"><slot>&nbsp;</slot></td>
155                 <td valign="top"><slot>&nbsp;</slot></td>
156                 </tr><tr>
157                 <td valign="top" scope="row"><slot>{$MOD.LBL_MESSENGER_ID}:</slot></td>
158                 <td valign="top"><slot>{$MESSENGER_ID}&nbsp;</slot></td>
159                 <td valign="top" scope="row"><slot>&nbsp;</slot></td>
160                 <td valign="top"><slot>&nbsp;</slot></td>
161                 </tr><tr>
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}&nbsp;&nbsp;{$ADDRESS_POSTALCODE}<br>
165                 {$ADDRESS_COUNTRY}</slot></td>
166                 <td scope="row"><slot>&nbsp;</slot></td>
167                 <td><slot>&nbsp;</slot></td>
168                 </tr><tr>
169                 <td valign="top" valign="top" scope="row"><slot>{$MOD.LBL_NOTES}:</slot></td>
170                 <td><slot>{$DESCRIPTION}&nbsp;</slot></td>
171                 <td width="15%" valign="top" scope="row"><slot>&nbsp;</slot></td>
172                 <td width="35%" valign="top"><slot>&nbsp;</slot></td>
173             </tr></table>
174             </div>
175
176             <div id='email_options'>
177                 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
178                     <tr>
179                         <th align="left" scope="row" colspan="4">
180                             <h4>{$MOD.LBL_MAIL_OPTIONS_TITLE}</h4>
181                         </th>
182                     </tr>
183                     <tr>
184                         <td align="top" scope="row" width="15%">
185                             {$MOD.LBL_EMAIL}:
186                         </td>
187                         <td align="top" width="85%">
188                             {$EMAIL_OPTIONS}
189                         </td>
190                     </tr>
191                     <tr id="email_options_link_type">
192                         <td align="top"  scope="row">
193                             {$MOD.LBL_EMAIL_LINK_TYPE}:
194                         </td>
195                         <td >
196                             {$EMAIL_LINK_TYPE}
197                         </td>
198                     </tr>
199                     {if $SHOW_SMTP_SETTINGS}
200                     <tr>
201                         <td scope="row" width="15%">
202                             {$MOD.LBL_EMAIL_PROVIDER}:
203                         </td>
204                         <td width="35%">
205                             {$MAIL_SMTPDISPLAY}
206                         </td>
207                     </tr>
208                     <tr>
209                         <td align="top"  scope="row">
210                             {$MOD.LBL_MAIL_SMTPUSER}:
211                         </td>
212                         <td width="35%">
213                             {$MAIL_SMTPUSER}
214                         </td>
215                     </tr>
216                     {/if}
217                 </table>
218             </div>
219         </div>
220         <div>
221         <div id="settings">
222             <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
223                 <tr>
224                 <th colspan='4' align="left" width="100%" valign="top"><h4><slot>{$MOD.LBL_USER_SETTINGS}</slot></h4></th>
225                 </tr>
226                 <tr>
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}&nbsp;</slot></td>
230                 </tr>
231                 <tr>
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}>&nbsp;{$REMINDER_TIME}</slot></td>
234                 <td ><slot>{$MOD.LBL_REMINDER_TEXT}&nbsp;</slot></td>
235
236                 </tr>
237                 <tr>
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}&nbsp;</slot></td>
241                 </tr>
242                 <tr>
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}&nbsp;</slot></td>
246                 </tr>
247                 <tr>
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>
251                 </tr>
252                 <tr>
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>
256                 </tr>
257                 <tr>
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>
261                 </tr>
262                 {$EXTERNAL_AUTH}
263             </table>
264         </div>
265
266         <div id='locale'>
267             <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
268                 <tr>
269                     <th colspan='4' align="left" width="100%" valign="top">
270                         <h4><slot>{$MOD.LBL_USER_LOCALE}</slot></h4></th>
271                 </tr>
272                 <tr>
273                     <td width="15%" scope="row"><slot>{$MOD.LBL_DATE_FORMAT}:</slot></td>
274                     <td><slot>{$DATEFORMAT}&nbsp;</slot></td>
275                     <td><slot>{$MOD.LBL_DATE_FORMAT_TEXT}&nbsp;</slot></td>
276                 </tr>
277                 <tr>
278                     <td width="15%" scope="row"><slot>{$MOD.LBL_TIME_FORMAT}:</slot></td>
279                     <td><slot>{$TIMEFORMAT}&nbsp;</slot></td>
280                     <td><slot>{$MOD.LBL_TIME_FORMAT_TEXT}&nbsp;</slot></td>
281                 </tr>
282                 <tr>
283                     <td width="15%" scope="row"><slot>{$MOD.LBL_TIMEZONE}:</slot></td>
284                     <td nowrap><slot>{$TIMEZONE}&nbsp;</slot></td>
285                     <td><slot>{$MOD.LBL_ZONE_TEXT}&nbsp;</slot></td>
286                 </tr>
287                 <tr>
288                     <td width="15%" scope="row"><slot>{$MOD.LBL_CURRENCY}:</slot></td>
289                     <td><slot>{$CURRENCY}&nbsp;</slot></td>
290                     <td><slot>{$MOD.LBL_CURRENCY_TEXT}&nbsp;</slot></td>
291                 </tr>
292                 <tr>
293                     <td width="15%" scope="row"><slot>{$MOD.LBL_CURRENCY_SIG_DIGITS}:</slot></td>
294                     <td><slot>{$CURRENCY_SIG_DIGITS}&nbsp;</slot></td>
295                     <td><slot>{$MOD.LBL_CURRENCY_SIG_DIGITS_DESC}&nbsp;</slot></td>
296                 </tr>
297                 <tr>
298                     <td width="15%" scope="row"><slot>{$MOD.LBL_NUMBER_GROUPING_SEP}:</slot></td>
299                     <td><slot>{$NUM_GRP_SEP}&nbsp;</slot></td>
300                     <td><slot>{$MOD.LBL_NUMBER_GROUPING_SEP_TEXT}&nbsp;</slot></td>
301                 </tr><tr>
302                     <td width="15%" scope="row"><slot>{$MOD.LBL_DECIMAL_SEP}:</slot></td>
303                     <td><slot>{$DEC_SEP}&nbsp;</slot></td>
304                     <td><slot></slot>{$MOD.LBL_DECIMAL_SEP_TEXT}&nbsp;</td>
305                 </tr>
306                 </tr><tr>
307                     <td width="15%" scope="row"><slot>{$MOD.LBL_LOCALE_DEFAULT_NAME_FORMAT}:</slot></td>
308                     <td><slot>{$NAME_FORMAT}&nbsp;</slot></td>
309                     <td><slot></slot>{$MOD.LBL_LOCALE_NAME_FORMAT_DESC}&nbsp;</td>
310                 </tr>
311             </table>
312         </div>
313
314
315         <div id='calendar_options'>
316             <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
317             <tr>
318             <th colspan='4' align="left" width="100%" valign="top"><h4><slot>{$MOD.LBL_CALENDAR_OPTIONS}</slot></h4></th>
319             </tr>
320             <tr>
321             <td width="15%" scope="row"><slot>{$MOD.LBL_PUBLISH_KEY}:</slot></td>
322             <td width="20%"><slot>{$CALENDAR_PUBLISH_KEY}&nbsp;</slot></td>
323             <td width="65%"><slot>{$MOD.LBL_CHOOSE_A_KEY}&nbsp;</slot></td>
324             </tr>
325             <tr>
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>
328             </tr>
329             <tr>
330             <td width="15%" scope="row"><slot>{$MOD.LBL_SEARCH_URL}:</slot></td>
331             <td colspan=2><slot>{$CALENDAR_SEARCH_URL}</slot></td>
332             </tr>
333             </table>
334         </div>
335         <div id='edit_tabs'>
336             <table width="100%" border="0" cellspacing="0" cellpadding="0"  class="detail view">
337             <tr>
338             <th colspan='4' align="left" width="100%" valign="top"><h4><slot>{$MOD.LBL_LAYOUT_OPTIONS}</slot></h4></th>
339             </tr>
340             <tr>
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}&nbsp;</slot></td>
344             </tr>
345             <tr>
346             <td width="15%" scope="row"><slot>{$MOD.LBL_MAX_TAB}:</slot></td>
347             <td width="15%"><slot>{$MAX_TAB}&nbsp;</slot></td>
348             <td><slot>{$MOD.LBL_MAX_TAB_DESCRIPTION}&nbsp;</slot></td>
349             </tr>
350             <tr>
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}&nbsp;</slot></td>
354             </tr>
355             </table>
356         </div>
357         <div id="user_holidays">
358         {$USER_HOLIDAYS_SUBPANEL}
359         </div>
360         <div id="oauth_tokens">
361         {$OAUTH_TOKENS_SUBPANEL}
362         </div>
363     </div>
364 {if !$SHOW_ROLES}
365 </div>
366 {/if}