diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-11-05 12:14:03 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-11-05 12:14:03 +0000 |
| commit | 4ca1f91b93ebdf892377410a0f1f64ca5db2c194 (patch) | |
| tree | 52b05b962227b640cc76e54e0b9a714c0e0427b1 /frontends/php/include/forms.inc.php | |
| parent | a15d9da563de55c96eb08f52dad5ac805f21e3d3 (diff) | |
| download | zabbix-4ca1f91b93ebdf892377410a0f1f64ca5db2c194.tar.gz zabbix-4ca1f91b93ebdf892377410a0f1f64ca5db2c194.tar.xz zabbix-4ca1f91b93ebdf892377410a0f1f64ca5db2c194.zip | |
- [DEV-60] added availability of setting hosts view style in overview & screens (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@4974 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
| -rw-r--r-- | frontends/php/include/forms.inc.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index 221bd682..bdfaab0f 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -3894,7 +3894,14 @@ include_once 'include/discovery.inc.php'; $cmbStyle->AddItem(STYLE_VERTICAL, S_VERTICAL); $form->AddRow(S_STYLE, $cmbStyle); } - elseif($resourcetype == SCREEN_RESOURCE_CLOCK) + else if(in_array($resourcetype,array(SCREEN_RESOURCE_TRIGGERS_OVERVIEW,SCREEN_RESOURCE_DATA_OVERVIEW))) + { + $cmbStyle = new CComboBox('style', $style); + $cmbStyle->AddItem(STYLE_TOP, S_TOP); + $cmbStyle->AddItem(STYLE_LEFT, S_LEFT); + $form->AddRow(S_HOSTS_LOCATION, $cmbStyle); + } + else if($resourcetype == SCREEN_RESOURCE_CLOCK) { $cmbStyle = new CComboBox("style", $style); $cmbStyle->AddItem(TIME_TYPE_LOCAL, S_LOCAL_TIME); |
