summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-08-12 14:36:28 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-08-12 14:36:28 +0000
commit43e14ba71f408eb30acd4c46a22e7f7ecb65c997 (patch)
treeedba7b8708f53de25f0b2b22f2c7fe0a56545e50 /frontends/php/items.php
parent9b414f6bc817fb041b960df504933d4694e4bd61 (diff)
downloadzabbix-43e14ba71f408eb30acd4c46a22e7f7ecb65c997.tar.gz
zabbix-43e14ba71f408eb30acd4c46a22e7f7ecb65c997.tar.xz
zabbix-43e14ba71f408eb30acd4c46a22e7f7ecb65c997.zip
- [DEV-201] improved performance on disabling/enabling, deleting hosts (Artem)
- [DEV-137] selections *all and groups *all are not saved to profiles (Artem) - [DEV-199] some fixes (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5899 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
-rw-r--r--frontends/php/items.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index 799dca2c..731cb258 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -19,10 +19,10 @@
**/
?>
<?php
- require_once "include/config.inc.php";
- require_once "include/hosts.inc.php";
- require_once "include/items.inc.php";
- require_once "include/forms.inc.php";
+ require_once('include/config.inc.php');
+ require_once('include/hosts.inc.php');
+ require_once('include/items.inc.php');
+ require_once('include/forms.inc.php');
$page["title"] = "S_CONFIGURATION_OF_ITEMS";
$page["file"] = "items.php";
@@ -299,7 +299,7 @@ include_once "include/page_header.php";
unset($_REQUEST['hostid']);
}
- validate_group_with_host(PERM_READ_WRITE,array('always_select_first_host','only_current_node'),'web.last.conf.groupid', 'web.last.conf.hostid');
+ validate_group_with_host(PERM_READ_WRITE,array('always_select_first_group','always_select_first_host','only_current_node'),'web.last.conf.groupid', 'web.last.conf.hostid');
update_profile('web.items.showdisabled',$showdisabled, PROFILE_TYPE_INT);
?>