1<fieldset class="box"><legend>{L('profile')} {$theuser->infos['real_name']} ({$theuser->infos['user_name']})</legend> 2 3<table id="profile"> 4 <tr> 5 <th>{L('realname')}</th> 6 <td> 7 {$theuser->infos['real_name']} 8 </td> 9 </tr> 10 <tr> 11 <?php if (!$user->isAnon()): ?> 12 <th>{L('emailaddress')}</th> 13 <td> 14 <a href="mailto:{$theuser->infos['email_address']}">{$theuser->infos['email_address']}</a> 15 </td> 16 </tr> 17 <?php endif; ?> 18 <tr> 19 <th>{L('jabberid')}</th> 20 <td> 21 {$theuser->infos['jabber_id']} 22 </td> 23 </tr> 24 <tr> 25 <th>{L('globalgroup')}</th> 26 <td> 27 {$groups[Flyspray::array_find('group_id', $theuser->infos['global_group'], $groups)]['group_name']} 28 </td> 29 </tr> 30 <?php if ($proj->id): ?> 31 <tr> 32 <th>{L('projectgroup')}</th> 33 <td> 34 <?php if ($user->perms('manage_project')): ?> 35 <form method="post" action="{$baseurl}index.php?do=user&id={$theuser->id}"><div> 36 <select id="projectgroupin" class="adminlist" name="project_group_in"> 37 <?php $sel = $theuser->perms('project_group') == '' ? 0 : $theuser->perms('project_group'); ?> 38 {!tpl_options(array_merge($project_groups, array(0 => array('group_name' => L('none'), 0 => 0, 'group_id' => 0, 1 => L('none')))), $sel)} 39 </select> 40 <input type="hidden" name="old_project_id" value="{$theuser->perms('project_group')}" /> 41 <input type="hidden" name="action" value="admin.edituser" /> 42 <input type="hidden" name="user_id" value="{$theuser->id}" /> 43 <input type="hidden" name="onlypmgroup" value="1" /> 44 45 <button type="submit">{L('update')}</button> 46 </div></form> 47 <?php else: ?> 48 <?php if ($theuser->perms('project_group')): ?> 49 {$project_groups[Flyspray::array_find('group_id', $theuser->perms('project_group'), $project_groups)]['group_name']} 50 <?php else: ?> 51 {L('none')} 52 <?php endif; ?> 53 <?php endif; ?> 54 </td> 55 </tr> 56 <?php endif; ?> 57 <tr> 58 <th><a href="{$_SERVER['SCRIPT_NAME']}?opened={$theuser->id}&status[]=">{L('tasksopened')}</a></th> 59 <td> 60 {$tasks} 61 </td> 62 </tr> 63 <tr> 64 <th><a href="{$_SERVER['SCRIPT_NAME']}?dev={$theuser->id}">{L('assignedto')}</a></th> 65 <td> 66 {$assigned} 67 </td> 68 </tr> 69 <tr> 70 <th>{L('comments')}</th> 71 <td> 72 {$comments} 73 </td> 74 </tr> 75 <?php if ($theuser->infos['register_date']): ?> 76 <tr> 77 <th>{L('regdate')}</th> 78 <td> 79 {formatDate($theuser->infos['register_date'])} 80 </td> 81 </tr> 82 <?php endif; ?> 83</table> 84 85</fieldset> 86