- {/if}
- {if $user->isManager()}
- <!-- Manager can edit everybody. -->
- <td><a href="user_edit.php?id={$u.id}">{$i18n.label.edit}</a></td>
- {else}
- <!-- Comanager can edit self and clients or users but not manager and other comanagers. -->
- <td>{if ($user->id == $u.id) || ($smarty.const.ROLE_CLIENT == $u.role) || ($smarty.const.ROLE_USER == $u.role)}<a href="user_edit.php?id={$u.id}">{$i18n.label.edit}</a>{/if}</td>