{include="header"} {if condition="$error != ''"}

{$error}

{/if} {if condition="$view == 'list_users'"}

List of users

You can also add a user.

{loop="users"} {/loop}
Id Login Is admin ? Edit Delete
{$value->getId()} {$value->getLogin()} {$value->getAdmin() ? "Yes" : "No"} Edit Delete
{elseif condition="$view == 'edit_user'"}

Edit a user

{if condition="$user_id != -1"}
Note : Leave blank this field if you don't want to edit password. {/if}

Give admin rights to this user ?

{elseif condition="$view == 'password'"}

Edit your password

{/if}