diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-11 14:38:49 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-11 14:38:49 +0000 |
| commit | e87f5ebd4db58b76543980eb24a4efe044003e59 (patch) | |
| tree | 04c5bfc3f208d4c9d7a137ff356035ca08cb7014 /frontends/php/users.php | |
| parent | b4b26e48b09f36c8b533412a1b19f1f23a447a9b (diff) | |
| download | zabbix-e87f5ebd4db58b76543980eb24a4efe044003e59.tar.gz zabbix-e87f5ebd4db58b76543980eb24a4efe044003e59.tar.xz zabbix-e87f5ebd4db58b76543980eb24a4efe044003e59.zip | |
Frontend improvements.
git-svn-id: svn://svn.zabbix.com/trunk@2515 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/users.php')
| -rw-r--r-- | frontends/php/users.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/users.php b/frontends/php/users.php index b4fcbd80..84707d83 100644 --- a/frontends/php/users.php +++ b/frontends/php/users.php @@ -178,7 +178,7 @@ echo "<br>"; show_table_header(S_USER_GROUPS_BIG); - $table = new cTable(S_NO_USER_GROUPS_DEFINED); + $table = new CTableInfo(S_NO_USER_GROUPS_DEFINED); $table->setHeader(array(S_ID,S_NAME,S_MEMBERS)); $result=DBselect("select usrgrpid,name from usrgrp order by name"); @@ -224,7 +224,7 @@ { echo "<br>"; show_table_header(S_USERS_BIG); - $table=new Ctable(S_NO_USERS_DEFINED); + $table=new CTableInfo(S_NO_USERS_DEFINED); $table->setHeader(array(S_ID,S_ALIAS,S_NAME,S_SURNAME,S_IS_ONLINE_Q,S_ACTIONS)); $result=DBselect("select u.userid,u.alias,u.name,u.surname from users u order by u.alias"); @@ -242,9 +242,9 @@ $result2=DBselect($sql); $row2=DBfetch($result2); if($row2["count"]>0) - $online=array("value"=>S_YES,"class"=>"on"); + $online=new CCol(S_YES,"on"); else - $online=array("value"=>S_NO,"class"=>"off"); + $online=new CCol(S_NO,"off"); if(check_right("User","U",$row["userid"])) { @@ -287,7 +287,7 @@ echo "<a name=\"form\"></a>"; show_table_header("USER PERMISSIONS"); - $table = new Ctable(); + $table = new CTableInfo(); $table->setHeader(array(S_PERMISSION,S_RIGHT,S_RESOURCE_NAME,S_ACTIONS)); $result=DBselect("select rightid,name,permission,id from rights where userid=".$_REQUEST["userid"]." order by name,permission,id"); $col=0; |
