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