</div>
</li>
<li>
- <label for="status">rôle</label>
+ <label>rôle</label>
<div class="form_input">
<ul>
- <?php foreach($this->out["status"] as $id_status => $status) : ?>
+ <?php foreach($this->out["roles"] as $id_role => $role) : ?>
<li>
- <input type="checkbox" name="status_<?php echo $id_status; ?>"<?php
- echo in_array($id_status, $this->out["user"]["status"]) ? " checked" : "";
+ <input type="checkbox" name="role_<?php echo $id_role; ?>"<?php
+ echo in_array($id_role, $this->out["user"]["roles"]) ? " checked" : "";
?> />
- <?php echo $status["intitule"]; ?>
+ <?php echo $role["intitule"]; ?>
</li>
<?php endforeach; ?>
</ul>