summaryrefslogtreecommitdiffstats
path: root/frontends/php/maps.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-28 15:25:52 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-28 15:25:52 +0000
commit4c6e81cdcb98236655c4612143a2fb74fa28b585 (patch)
tree9c17dbd4c2e9a10ddcb4923fc40fca9110c6feea /frontends/php/maps.php
parent787911115963265dd4a9c8cae9178c4868c57e55 (diff)
downloadzabbix-4c6e81cdcb98236655c4612143a2fb74fa28b585.tar.gz
zabbix-4c6e81cdcb98236655c4612143a2fb74fa28b585.tar.xz
zabbix-4c6e81cdcb98236655c4612143a2fb74fa28b585.zip
- [DEV-154] added more flexibility to scripts (Artem)
- [DEV-156] added the link from Status of Triggers to Latest data when clicking on a host (Artem) - [DEV-137] small improvements to GUI (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5664 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/maps.php')
-rw-r--r--frontends/php/maps.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/frontends/php/maps.php b/frontends/php/maps.php
index 2a01f1f8..ad847e3f 100644
--- a/frontends/php/maps.php
+++ b/frontends/php/maps.php
@@ -161,12 +161,11 @@ include_once "include/page_header.php";
$cmbMaps = new CComboBox("sysmapid",get_request("sysmapid",0),"submit()");
- foreach($all_maps as $id => $name)
- {
+ foreach($all_maps as $id => $name){
$cmbMaps->AddItem($id, $name);
}
- if($cmbMaps->ItemsCount()>0)
- {
+
+ if($cmbMaps->ItemsCount()>0){
$form->AddItem($cmbMaps);
}
@@ -174,8 +173,7 @@ include_once "include/page_header.php";
?>
<?php
$table = new CTable(S_NO_MAPS_DEFINED,"map");
- if(isset($_REQUEST["sysmapid"]))
- {
+ if(isset($_REQUEST["sysmapid"])){
$action_map = get_action_map_by_sysmapid($_REQUEST["sysmapid"]);
$table->AddRow($action_map);