~kampka/ubuntu/quantal/zabbix/upstart-support

« back to all changes in this revision

Viewing changes to frontends/php/triggers.php

  • Committer: Bazaar Package Importer
  • Author(s): Michael Ablassmeier
  • Date: 2009-06-28 19:11:29 UTC
  • mfrom: (19.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090628191129-5esmmf2h3tbff1fv
* New upstream release
* Merge upstream config file to template (Closes: #528426)
* Move logrotate from Depends to Suggests (Closes: #534096)
* Server should not crash anymore if postgresql transaction fails
  (Closes: #520197)
* Update fr.po (Closes: #527559)
* Update es.po (Closes: #527600)
* Update sv.po (Closes: #528571)
* Update it.po (Closes: #529157)
* Update cs.po (Closes: #529502)
* Update de.po (Closes: #532344)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
//              VAR                     TYPE    OPTIONAL FLAGS  VALIDATION      EXCEPTION
38
38
        $fields=array(
39
39
                'groupid'=>                     array(T_ZBX_INT, O_OPT,  P_SYS, DB_ID,NULL),
40
 
                'hostid'=>                      array(T_ZBX_INT, O_OPT,  P_SYS, DB_ID,'isset({save})'),
 
40
                'hostid'=>                      array(T_ZBX_INT, O_OPT,  P_SYS, DB_ID,NULL),
41
41
 
42
42
                'triggerid'=>           array(T_ZBX_INT, O_OPT,  P_SYS, DB_ID,'(isset({form})&&({form}=="update"))'),
43
43
 
385
385
        }
386
386
        
387
387
        $params=array();
388
 
        $options = array('with_items','only_current_node');
 
388
        $options = array('with_items','only_current_node','not_proxy_hosts');
389
389
        foreach($options as $option) $params[$option] = 1;
390
390
        
391
391
        $PAGE_GROUPS = get_viewed_groups(PERM_READ_WRITE, $params);