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">
11 <label for="login">login</label>
12 <div class="form_input">
13 <input type="text" name="login" id="login" value="<?php echo $this->out["user"]["login"]; ?>" disabled="disabled" />
17 <label for="status">statut</label>
18 <div class="form_input">
19 <select name="status" id="status">
20 <?php foreach($this->out["status"] as $id_status => $status) : ?>
21 <option value="<?php echo $id_status; ?>"<?php echo $this->out["user"]["status"] == $id_status ? " selected" : ""; ?>>
22 <?php echo $status["nom"]; ?>
29 <label for="email">email</label>
30 <div class="form_input">
31 <input type="text" name="email" id="email" value="<?php echo $this->out["user"]["email"]; ?>" />
35 <label for="change_password">changer le mot de passe</label>
36 <div class="form_input">
37 <input type="checkbox" name="change_password" id="change_password" <?php echo isset($_POST["change_password"]) && $_POST["change_password"] ? "checked=\"checked\"" : ""; ?>/>
41 <label for="password">mot de passe</label>
42 <div class="form_input">
43 <input type="password" name="password" id="password" />
47 <label for="password_confirm">mot de passe<br />(confirmer)</label>
48 <div class="form_input">
49 <input type="password" name="password_confirm" id="password_confirm" />
53 <div class="form_buttons">
54 <input type="submit" value="Enregistrer" />