2 function chLocation(newLocation) { document.location = newLocation; }
5 <table class="mobile-table">
8 {if $user->can('manage_users')}
9 <table class="mobile-table-details">
11 <tr><td class="sectionHeaderNoBorder">{$i18n.form.users.active_users}</td></tr>
14 <td width="35%" class="tableHeader">{$i18n.label.person_name}</td>
15 <td width="35%" class="tableHeader">{$i18n.label.login}</td>
16 <td width="10%" class="tableHeader">{$i18n.form.users.role}</td>
19 {foreach $active_users as $u}
20 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
22 {if $user->uncompleted_indicators}
23 <span class="uncompleted-entry{if $u.has_uncompleted_entry} active{/if}"{if $u.has_uncompleted_entry} title="{$i18n.form.users.uncompleted_entry}"{/if}></span>
25 {if $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)}
26 <a href="user_edit.php?id={$u.id}">{$u.name|escape}</a>
31 <td>{$u.login|escape}</td>
32 <td>{$u.role_name|escape}</td>
40 <td align="center"><br>
41 <form><input type="button" onclick="chLocation('user_add.php');" value="{$i18n.button.add}"></form>
47 <table class="mobile-table-details">
48 <tr><td class="sectionHeaderNoBorder">{$i18n.form.users.inactive_users}</td></tr>
50 <td width="35%" class="tableHeader">{$i18n.label.person_name}</td>
51 <td width="35%" class="tableHeader">{$i18n.label.login}</td>
52 <td width="10%" class="tableHeader">{$i18n.form.users.role}</td>
54 {foreach $inactive_users as $u}
55 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
57 {if $u.rank < $user->rank}
58 <a href="user_edit.php?id={$u.id}">{$u.name|escape}</a>
63 <td>{$u.login|escape}</td>
64 <td>{$u.role_name|escape}</td>
71 <td align="center" height="50">
72 <form><input type="button" onclick="chLocation('user_add.php');" value="{$i18n.button.add}"></form>
78 <table cellspacing="1" cellpadding="3" border="0" width="100%">
80 <td width="35%" class="tableHeader">{$i18n.label.person_name}</td>
81 <td width="35%" class="tableHeader">{$i18n.label.login}</td>
82 <td class="tableHeader">{$i18n.form.users.role}</td>
84 {foreach $active_users as $u}
85 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
86 <td>{$u.name|escape}</td>
87 <td>{$u.login|escape}</td>
88 <td>{$u.role_name|escape}</td>