2 function chLocation(newLocation) { document.location = newLocation; }
5 <table cellspacing="0" cellpadding="7" border="0" width="720">
8 {if $user->can('manage_users')}
9 <table cellspacing="1" cellpadding="3" border="0" width="100%">
11 <tr><td class="sectionHeaderNoBorder">{$i18n.form.users.active_users}</td></tr>
14 <td width="30%" class="tableHeader">{$i18n.label.person_name}</td>
15 <td width="30%" class="tableHeader">{$i18n.label.login}</td>
16 <td width="20%" class="tableHeader">{$i18n.form.users.role}</td>
18 <td class="tableHeader">{$i18n.label.quota}</td>
20 <td class="tableHeader">{$i18n.label.edit}</td>
21 <td class="tableHeader">{$i18n.label.delete}</td>
24 {foreach $active_users as $u}
25 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
27 {if $uncompleted_indicators}
28 <span class="uncompleted-entry{if $u.has_uncompleted_entry} active{/if}"{if $u.has_uncompleted_entry} title="{$i18n.form.users.uncompleted_entry}"{/if}></span>
32 <td>{$u.login|escape}</td>
33 <td>{$u.role_name|escape}</td>
35 <td class="cellRightAligned">{$u.quota_percent}</td>
37 {if $u.group_id != $user->group_id || $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)}
38 <td><a href="user_edit.php?id={$u.id}">{$i18n.label.edit}</a></td>
39 {if $u.id != $user->id}<td><a href="user_delete.php?id={$u.id}">{$i18n.label.delete}</a></td>{else}<td></td>{/if}
51 <td align="center"><br>
52 <form><input type="button" onclick="chLocation('user_add.php');" value="{$i18n.button.add}"></form>
58 <table cellspacing="1" cellpadding="3" border="0" width="100%">
59 <tr><td class="sectionHeaderNoBorder">{$i18n.form.users.inactive_users}</td></tr>
61 <td width="30%" class="tableHeader">{$i18n.label.person_name}</td>
62 <td width="30%" class="tableHeader">{$i18n.label.login}</td>
63 <td width="20%" class="tableHeader">{$i18n.form.users.role}</td>
65 <td class="tableHeader">{$i18n.label.quota}</td>
67 <td class="tableHeader">{$i18n.label.edit}</td>
68 <td class="tableHeader">{$i18n.label.delete}</td>
70 {foreach $inactive_users as $u}
71 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
72 <td>{$u.name|escape}</td>
73 <td>{$u.login|escape}</td>
74 <td>{$u.role_name|escape}</td>
76 <td class="cellRightAligned">{$u.quota_percent}</td>
78 {if $u.group_id != $user->group_id || $u.rank < $user->rank}
79 <td><a href="user_edit.php?id={$u.id}">{$i18n.label.edit}</a></td>
80 <td><a href="user_delete.php?id={$u.id}">{$i18n.label.delete}</a></td>
92 <td align="center" height="50">
93 <form><input type="button" onclick="chLocation('user_add.php');" value="{$i18n.button.add}"></form>
99 <table cellspacing="1" cellpadding="3" border="0" width="100%">
101 <td width="35%" class="tableHeader">{$i18n.label.person_name}</td>
102 <td width="35%" class="tableHeader">{$i18n.label.login}</td>
103 <td class="tableHeader">{$i18n.form.users.role}</td>
105 {foreach $active_users as $u}
106 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
107 <td>{$u.name|escape}</td>
108 <td>{$u.login|escape}</td>
109 <td>{$u.role_name|escape}</td>