diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-30 08:56:26 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-30 08:56:26 +0000 |
| commit | a678780a5405b247b28649d7852814ef8f6c73f9 (patch) | |
| tree | 8956c1e0d6269f432394170a3c8d0e054ff8771d /frontends/php/include/forms.inc.php | |
| parent | 11c71af449e0f8d5afc482f631cd7411663529b0 (diff) | |
| download | zabbix-a678780a5405b247b28649d7852814ef8f6c73f9.tar.gz zabbix-a678780a5405b247b28649d7852814ef8f6c73f9.tar.xz zabbix-a678780a5405b247b28649d7852814ef8f6c73f9.zip | |
- added support of icon label locations (Alexei)
- added new column sysmaps.label_location (Alexei)
- better processing of server startup/shutdown (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2569 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
| -rw-r--r-- | frontends/php/include/forms.inc.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index b0ed0e8d..bf6926ff 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -1976,6 +1976,7 @@ $height = $row["height"]; $background = $row["background"]; $label_type = $row["label_type"]; + $label_location = $row["label_location"]; } else { @@ -1984,6 +1985,7 @@ $height = get_request("height",600); $background = get_request("background",""); $label_type = get_request("label_type",0); + $label_location = get_request("label_location",0); } @@ -2012,6 +2014,14 @@ $cmbLabel->AddItem(4,S_NOTHING); $frmMap->AddRow(S_ICON_LABEL_TYPE,$cmbLabel); + $cmbLocation = new CComboBox("label_location",$label_location); + + $cmbLocation->AddItem(0,S_BOTTOM); + $cmbLocation->AddItem(1,S_LEFT); + $cmbLocation->AddItem(2,S_RIGHT); + $cmbLocation->AddItem(3,S_TOP); + $frmMap->AddRow(S_ICON_LABEL_LOCATION,$cmbLocation); + $frmMap->AddItemToBottomRow(new CButton("save",S_SAVE)); if(isset($_REQUEST["sysmapid"])) { |
