X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Fapp%2Fout%2Fdefault%2Fviews%2Fadmin%2Fusers%2Flist.php;h=884cec234237b91c9b4f2bda10984a27c4531228;hb=7ad1ac4f506df343ef4127d7c56a846edd307374;hp=dd5e21cec6b6e8624db090d902149dbf4af87928;hpb=37006f4b48170e3d2ee7ac4d1e7dd47df57734e9;p=mtweb
diff --git a/mw/app/out/default/views/admin/users/list.php b/mw/app/out/default/views/admin/users/list.php
index dd5e21c..884cec2 100644
--- a/mw/app/out/default/views/admin/users/list.php
+++ b/mw/app/out/default/views/admin/users/list.php
@@ -7,7 +7,7 @@
param("status")])) $users_params["status"] = $_GET[$this->param("status")];
+ if(isset($_GET[$this->param("role")])) $users_params["role"] = $_GET[$this->param("role")];
?>
@@ -22,17 +22,17 @@
out["status"]) :
+ if($this->out["roles"]) :
if(isset($_GET[$this->param("alpha")])) $users_params["alpha"] = $_GET[$this->param("alpha")];
else unset($users_params["alpha"]);
- unset($users_params["status"]);
+ unset($users_params["role"]);
?>
-
@@ -47,14 +47,22 @@
login |
email |
- statut |
+ rôle |
actions |
out["users"]["list"] as $id_user => $user) : ?>
|
"> |
- out["status"][$user["status"]]["nom"]; ?> |
+
+ out["roles"][$id_role]["intitule"];
+
+ ?>
+
+ |
$user["login"])); ?>"
class="admin_link"
@@ -63,8 +71,8 @@
|
$user["login"])); ?>"
class="admin_link"
- title="supprimer cet utilisateur"> "
- onclick="return confirm('Supprimer cet utilisateur ?')"/>
+ title="supprimer cet utilisateur"
+ onclick="return confirm('Supprimer cet utilisateur ?')"> "/>
|