summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/maps.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-30 08:56:26 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-30 08:56:26 +0000
commita678780a5405b247b28649d7852814ef8f6c73f9 (patch)
tree8956c1e0d6269f432394170a3c8d0e054ff8771d /frontends/php/include/maps.inc.php
parent11c71af449e0f8d5afc482f631cd7411663529b0 (diff)
- 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/maps.inc.php')
-rw-r--r--frontends/php/include/maps.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/include/maps.inc.php b/frontends/php/include/maps.inc.php
index 90a08797..7169e26e 100644
--- a/frontends/php/include/maps.inc.php
+++ b/frontends/php/include/maps.inc.php
@@ -71,7 +71,7 @@
# Update System Map
- function update_sysmap($sysmapid,$name,$width,$height,$background,$label_type)
+ function update_sysmap($sysmapid,$name,$width,$height,$background,$label_type,$label_location)
{
if(!check_right("Network map","U",$sysmapid))
{
@@ -79,13 +79,13 @@
return 0;
}
- $sql="update sysmaps set name='$name',width=$width,height=$height,background='$background',label_type=$label_type where sysmapid=$sysmapid";
+ $sql="update sysmaps set name='$name',width=$width,height=$height,background='$background',label_type=$label_type,label_location=$label_location where sysmapid=$sysmapid";
return DBexecute($sql);
}
# Add System Map
- function add_sysmap($name,$width,$height,$background,$label_type)
+ function add_sysmap($name,$width,$height,$background,$label_type,$label_location)
{
if(!check_right("Network map","A",0))
{
@@ -93,7 +93,7 @@
return 0;
}
- $sql="insert into sysmaps (name,width,height,background,label_type) values ('$name',$width,$height,'$background',$label_type)";
+ $sql="insert into sysmaps (name,width,height,background,label_type,label_location) values ('$name',$width,$height,'$background',$label_type,$label_location)";
return DBexecute($sql);
}