1 <h2>Nouvel utilisateur</h2>
4 <li><a href="<?php echo $this->url("admin/users"); ?>">Retour à la liste des utilisateurs</a></li>
7 <form name="user_form" action="<?php echo $this->url("admin/users/add"); ?>" method="post">
11 <label for="login">login</label>
12 <div class="form_input">
13 <input type="text" name="login" id="login" value="<?php echo isset($this->out["user"]["login"]) ? $this->out["user"]["login"] : ""; ?>" />
17 <label>rôle</label>
18 <div class="form_input">
20 <?php foreach($this->out["roles"] as $id_role => $role) : if($id_role) : ?>
22 <input type="checkbox" name="role_<?php echo $id_role; ?>"<?php
23 echo in_array($id_role, $this->out["user"]["roles"]) ? " checked" : "";
25 <?php echo $role["intitule"]; ?>
27 <?php endif; endforeach; ?>
32 <label for="email">email</label>
33 <div class="form_input">
34 <input type="text" name="email" id="email" value="<?php echo isset($this->out["user"]["email"]) ? $this->out["user"]["email"] : ""; ?>" />
38 <label for="password">mot de passe</label>
39 <div class="form_input">
40 <input type="password" name="password" id="password" />
44 <label for="password_confirm">mot de passe<br />(confirmer)</label>
45 <div class="form_input">
46 <input type="password" name="password_confirm" id="password_confirm" />
50 <div class="form_buttons">
51 <input type="submit" value="Ajouter" />