From 231faf1162a0aac6feb4e30b18da7bd14bb8de11 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Tue, 25 May 2004 07:40:51 +0000 Subject: - added support for real delta. item.delta=2. (Alexei) - new selection for triggers.php (Alexei) - new selection for items.php (Alexei) - removed helpdesk.php (Alexei) - fixed check of permissions for screenedit.php (Alexei) - new selection for graphs in charts.php (Alexei) - new selection of maps in maps.php (Alexei) - new selection of group and host for latest.php (Alexei) - added support for macro {IPADDRESS} (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1348 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/users.php | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'frontends/php/users.php') diff --git a/frontends/php/users.php b/frontends/php/users.php index 3448d71d..035b6cc3 100644 --- a/frontends/php/users.php +++ b/frontends/php/users.php @@ -19,11 +19,12 @@ **/ ?> @@ -184,14 +185,9 @@ $sql="select count(*) as count from sessions where userid=".$row["userid"]." and lastaccess-600<".time(); $result2=DBselect($sql); $row2=DBfetch($result2); - if($row2["count"]>0) - { - echo "".S_YES.""; - } - else - { - echo "".S_NO.""; - } + iif_echo($row2["count"]>0, + "".S_YES."", + "".S_NO.""); echo ""; if(check_right("User","U",$row["userid"])) { @@ -206,7 +202,7 @@ } else { - echo S_CHANGE." - ".S_MEDIA"; + echo S_CHANGE." - ".S_MEDIA; } echo ""; echo ""; -- cgit