diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-08-03 08:36:00 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-08-03 08:36:00 +0000 |
| commit | 9e13643b3cfdaf32f457e6325d24bcd8094f0ffb (patch) | |
| tree | 893624ccbab78753acd0be21b6416df31e493841 /frontends/php/include/forms.inc.php | |
| parent | ed5710a320bc6a18b0152c31e92c8f6414bb085d (diff) | |
| download | zabbix-9e13643b3cfdaf32f457e6325d24bcd8094f0ffb.tar.gz zabbix-9e13643b3cfdaf32f457e6325d24bcd8094f0ffb.tar.xz zabbix-9e13643b3cfdaf32f457e6325d24bcd8094f0ffb.zip | |
- merged rev. 4506:4507 of branches/1.4.2 (Eugene)
[- added dotted drowing type for links of map
- fixed links drowing type of map ]
git-svn-id: svn://svn.zabbix.com/trunk@4508 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, 3 insertions, 3 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index a4fad70d..89b29fc3 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -2693,7 +2693,7 @@ if($graphtype == GRAPH_TYPE_NORMAL) { $cmbType = new CComboBox("drawtype",$drawtype); - for($i=0; $i < 5; ++$i) + foreach( graph_item_drawtypes() as $i ) { $cmbType->AddItem($i,graph_item_drawtype2str($i)); } @@ -4726,9 +4726,9 @@ include_once 'include/discovery.inc.php'; $cmbType_off = new CComboBox("drawtype_off",$drawtype_off); $cmbType_on = new CComboBox("drawtype_on",$drawtype_on); - for($i=0; $i < 5; ++$i) + foreach(map_link_drawtypes() as $i) { - $value = graph_item_drawtype2str($i); + $value = map_link_drawtype2str($i); $cmbType_off->AddItem($i, $value); $cmbType_on->AddItem($i, $value); } |
