diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-05-02 14:29:11 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-05-02 14:29:11 +0000 |
| commit | 5f5f27c2d19ab6687d10aa04c88d5b835d024e48 (patch) | |
| tree | 7b04e4d7bffcc5866c8d4f3d0276cfb09bda489a /frontends/php/include/forms.inc.php | |
| parent | 666e0dbf5f8cf58a42855dbd33ea9eb83328d211 (diff) | |
| download | zabbix-5f5f27c2d19ab6687d10aa04c88d5b835d024e48.tar.gz zabbix-5f5f27c2d19ab6687d10aa04c88d5b835d024e48.tar.xz zabbix-5f5f27c2d19ab6687d10aa04c88d5b835d024e48.zip | |
- added trigger displaying on graphs (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2792 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
| -rw-r--r-- | frontends/php/include/forms.inc.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index 04bc9ab3..5eee69b5 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -717,6 +717,7 @@ $yaxismin =$row["yaxismin"]; $yaxismax =$row["yaxismax"]; $showworkperiod = $row["show_work_period"]; + $showtriggers = $row["show_triggers"]; } else { $name =get_request("name" ,""); $width =get_request("width" ,900); @@ -724,14 +725,15 @@ $yaxistype =get_request("yaxistype",GRAPH_YAXIS_TYPE_CALCULATED); $yaxismin =get_request("yaxismin" ,0.00); $yaxismax =get_request("yaxismax" ,100.00); - $showworkperiod = get_request("show_work_period",1); - + $showworkperiod = get_request("showworkperiod",1); + $showtriggers = get_request("showtriggers",1); } $frmGraph->AddRow(S_NAME,new CTextBox("name",$name,32)); $frmGraph->AddRow(S_WIDTH,new CTextBox("width",$width,5)); $frmGraph->AddRow(S_HEIGHT,new CTextBox("height",$height,5)); $frmGraph->AddRow(S_SHOW_WORKING_TIME,new CCheckBox("showworkperiod",$showworkperiod,NULL,NULL,1)); + $frmGraph->AddRow(S_SHOW_TRIGGERS,new CCheckBox("showtriggers",$showtriggers,NULL,NULL,1)); $cmbYType = new CComboBox("yaxistype",$yaxistype,"submit()"); $cmbYType->AddItem(GRAPH_YAXIS_TYPE_CALCULATED,S_CALCULATED); |
