summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-19 10:28:27 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-19 10:28:27 +0000
commite919143b2cc278b171b0ef659e89109b4f5e2b14 (patch)
treed2dc920c72ffd0d7813451c7b26d73580d3eca66 /frontends/php/include
parent1b0aad499db894813eb1067c07606d17865f7bf4 (diff)
downloadzabbix-e919143b2cc278b171b0ef659e89109b4f5e2b14.tar.gz
zabbix-e919143b2cc278b171b0ef659e89109b4f5e2b14.tar.xz
zabbix-e919143b2cc278b171b0ef659e89109b4f5e2b14.zip
- [DEV-137] added selecting first group & host to overview & latest screens (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5712 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/classes/ccombobox.inc.php3
-rw-r--r--frontends/php/include/hosts.inc.php2
2 files changed, 2 insertions, 3 deletions
diff --git a/frontends/php/include/classes/ccombobox.inc.php b/frontends/php/include/classes/ccombobox.inc.php
index c4810736..99d4ef7f 100644
--- a/frontends/php/include/classes/ccombobox.inc.php
+++ b/frontends/php/include/classes/ccombobox.inc.php
@@ -99,8 +99,7 @@
if(str_in_array($value,$this->value))
$selected = 'yes';
}
- else if(strcmp($value,$this->value) == 0)
- {
+ else if(strcmp($value,$this->value) == 0){
$selected = 'yes';
}
}
diff --git a/frontends/php/include/hosts.inc.php b/frontends/php/include/hosts.inc.php
index 86fe839c..46fbee9a 100644
--- a/frontends/php/include/hosts.inc.php
+++ b/frontends/php/include/hosts.inc.php
@@ -686,7 +686,7 @@ require_once "include/items.inc.php";
}
global $USER_DETAILS;
-
+
$first_hostid_in_group = 0;
$allow_all_hosts = (str_in_array("allow_all_hosts",$options)) ? 1 : 0;