{literal} {/literal} {if $smarty.get.cat == 'edit'} {else} {/if} {if $result != ""} {/if}
Manage Users
{if $smarty.post.cat == "new"} {if $result == -1} An error occurred while trying to add the new user. {elseif $result == 1} Thank you, the user was added successfully. {/if} {elseif $smarty.post.cat == "update"} {if $result == -1} An error occurred while trying to update the user information. {elseif $result == 1} Thank you, the user was updated successfully. {/if} {/if}
Email Address: {include file="error_icon.tpl.html" field="email"}
Password: {if $smarty.get.cat == 'edit'} (leave empty to keep the current password) {/if} {include file="error_icon.tpl.html" field="password"}
Full Name: {include file="error_icon.tpl.html" field="full_name"}
Assigned Projects and Roles: {foreach from=$project_list key=prj_id item=prj_name} {/foreach}
{$prj_name}: {if $info.roles.$prj_id.pru_role == $roles.customer} Customer {else} {if $current_role < $info.roles.$prj_id.pru_role}{/if} {include file="error_icon.tpl.html" field="role[$prj_id]"} {/if}
{if $smarty.get.cat == 'edit'} {else} {/if}
Existing Users:
{/literal} {section name="i" loop=$list} {cycle values=$cycle assign="row_color"} {sectionelse} {/section}
 Full Name  Role  Email Address  Status  Group
 {$list[i].usr_full_name} {foreach from=$list[i].roles item=role_data}  {$role_data.prj_title}: {$role_data.role}
{/foreach}
 {$list[i].usr_email}  {$list[i].usr_status|capitalize}  {$list[i].group_name}
No users could be found.