1 <h2>Modifier un utilisateur</h2>
4 <li><a href="<?= $this->url("admin/users") ?>">Retour à la liste des utilisateurs</a></li>
7 <form name="user_form" action="<?= $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="<?= $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="<?= $id_status ?>"<?= $this->out["user"]["status"] == $id_status ? " selected" : "" ?>>
24 <label for="email">email</label>
25 <input type="text" name="email" id="email" value="<?= $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" <?= 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" />