1 <h2>Modifier un 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/edit", array("id" => $_GET[$this->param("id")])); ?>" method="post">
10 <label for="login">login</label>
11 <input type="text" name="login" id="login" value="<?php echo $this->out["user"]["login"]; ?>" disabled="disabled" />
14 <label for="status">statut</label>
15 <select name="status" id="status">
16 <?php foreach($this->out["status"] as $id_status => $status) : ?>
17 <option value="<?php echo $id_status; ?>"<?php echo $this->out["user"]["status"] == $id_status ? " selected" : ""; ?>>
18 <?php echo $status["nom"]; ?>
24 <label for="email">email</label>
25 <input type="text" name="email" id="email" value="<?php echo $this->out["user"]["email"]; ?>" />
28 <label for="change_password">changer le mot de passe</label>
29 <input type="checkbox" name="change_password" id="change_password" <?php echo isset($_POST["change_password"]) && $_POST["change_password"] ? "checked=\"checked\"" : ""; ?>/>
32 <label for="password">mot de passe</label>
33 <input type="password" name="password" id="password" />
36 <label for="password_confirm">confirmer le mot de passe</label>
37 <input type="password" name="password_confirm" id="password_confirm" />
40 <input type="submit" value="Enregistrer" />