From cbb3323a0ad2ae65d0134e01b807faf8df99a2d2 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Sun, 11 Aug 2002 16:16:22 +0000 Subject: - added housekeeping procedure for table sessions (Alexei) - changed width=\"X%\" to width=X% in *.php (Alexei) - Status of a trigger will blink if it was changes during last 60 seconds (Alexei) - Zabbix daemons to update triggers.lastchange when triggers.values is changed (Alexei) - added misc/init.d/debian/zabbix-[suckerd|trapperd] (Alexei) - removed misc/init.d/debian/zabbix-server (Alexei) - send_email() will timeout after 10 seconds (Alexei) - DBadd_alarm() renamed to add_alarm() (Alexei) - support for SCO OpenServer (Alexei). Thanks to Alexender Kirhenstein. - ./configure will correctly define socklen_t (Alexei) -
changed to
(Alexei) - reason of problem in screen IT Services (Alexei) - added frontends.php/helpdesk.php (Alexei) - added tables: problems, problems_comments,categories (Alexei) - added "...#form" to button Change in form Configuration of Users (Alexei) - "Just for information" changed to "Information" (Alexei) - fixed ./configure to correctly find zlib (Alexei) - housekeeping to delete no more than HousekeepingFrequency*3600 records from table history and history_str at once (MySQL only) (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@450 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/users.php | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) (limited to 'frontends/php/users.php') diff --git a/frontends/php/users.php b/frontends/php/users.php index bf75f82e..543bb128 100644 --- a/frontends/php/users.php +++ b/frontends/php/users.php @@ -68,16 +68,15 @@ ?> "; - echo "Id"; - echo "Alias"; - echo "Name"; - echo "Surname"; - echo "Actions"; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; echo ""; $result=DBselect("select u.userid,u.alias,u.name,u.surname from users u order by u.alias"); - echo "
"; $col=0; while($row=DBfetch($result)) { @@ -92,13 +91,21 @@ echo "
"; echo ""; echo ""; + echo ""; echo ""; @@ -109,17 +116,16 @@ "; + echo ""; show_table_header("USER PERMISSIONS"); - echo "
IdAliasNameSurnameActions
".$row["alias"]."".$row["name"]."".$row["surname"].""; if(check_right("User","U",$row["userid"])) { - echo "Change - Media"; + if(get_media_count_by_userid($row["userid"])>0) + { + echo "Change - Media"; + } + else + { + echo "Change - Media"; + } } else { - echo "Change - Media"; + echo "Change - Media"; } echo "
"; - echo ""; - echo ""; - echo ""; - echo ""; + echo "
PermissionRightResource nameActions
"; + echo ""; + echo ""; + echo ""; + echo ""; echo ""; $result=DBselect("select rightid,name,permission,id from rights where userid=$userid order by name,permission,id"); - echo "
"; $col=0; while($row=DBfetch($result)) { -- cgit
PermissionRightResource nameActions