1 <h2>Informations du compte</h2>
3 <form name="user_form" action="<?php echo $this->url("users/infos/edit"); ?>" method="post">
7 <label for="login">login</label>
8 <div class="form_input">
9 <input type="text" name="login" id="login" value="<?php echo $this->out["user"]["login"]; ?>" disabled="disabled" />
13 <label>rôle</label>
14 <div class="form_input">
17 foreach($this->out["user"]["roles"] as $id_role){
18 $role .= ($role ? ", " : "").$this->out["roles"][$id_role]["intitule"];
25 <label for="email">email</label>
26 <div class="form_input">
27 <input type="text" name="email" id="email" value="<?php echo $this->out["user"]["email"]; ?>" />
31 <label for="change_password">changer le mot de passe</label>
32 <div class="form_input">
33 <input type="checkbox" name="change_password" id="change_password" <?php echo isset($_POST["change_password"]) && $_POST["change_password"] ? "checked=\"checked\"" : ""; ?>/>
37 <label for="password">mot de passe</label>
38 <div class="form_input">
39 <input type="password" name="password" id="password" />
43 <label for="password_confirm">mot de passe (confirmer)</label>
44 <div class="form_input">
45 <input type="password" name="password_confirm" id="password_confirm" />
49 <div class="form_buttons">
50 <input type="submit" value="Enregistrer" />