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=2640b96b2ce7b1e592f099c2b81b15e9b1df825a;hpb=3c17f81e1d2fb68f69cfa620ca00ad63e83cc17c;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 2640b96..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"]);
?>
-
@@ -58,7 +58,7 @@
out["status"][$id_role]["intitule"];
+ foreach($user["roles"] as $id_role) $role .= ($role ? ", " : "").$this->out["roles"][$id_role]["intitule"];
?>