summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/config.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-17 19:07:17 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-17 19:07:17 +0000
commit1ad5d81dff9ab714d1ca992c9a7344f192eeaa61 (patch)
tree60bd10f1932091d8ca981ec076b757f23cd9e8eb /frontends/php/include/config.inc.php
parent122708ba14cc6df7904ec6e7d98f06e4c17ba0da (diff)
- configurable format of icon labels for maps (Alexei)
- added column sysmaps.label_type (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1615 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
-rw-r--r--frontends/php/include/config.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index 79baf9ef..c9b799e6 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -2992,7 +2992,7 @@ echo "</head>";
# Update System Map
- function update_sysmap($sysmapid,$name,$width,$height,$background)
+ function update_sysmap($sysmapid,$name,$width,$height,$background,$label_type)
{
global $ERROR_MSG;
@@ -3002,7 +3002,7 @@ echo "</head>";
return 0;
}
- $sql="update sysmaps set name='$name',width=$width,height=$height,background='$background' where sysmapid=$sysmapid";
+ $sql="update sysmaps set name='$name',width=$width,height=$height,background='$background',label_type=$label_type where sysmapid=$sysmapid";
return DBexecute($sql);
}
@@ -3036,7 +3036,7 @@ echo "</head>";
# Add System Map
- function add_sysmap($name,$width,$height,$background)
+ function add_sysmap($name,$width,$height,$background,$label_type)
{
global $ERROR_MSG;
@@ -3046,7 +3046,7 @@ echo "</head>";
return 0;
}
- $sql="insert into sysmaps (name,width,height,background) values ('$name',$width,$height,'$background')";
+ $sql="insert into sysmaps (name,width,height,background,label_type) values ('$name',$width,$height,'$background',$label_type)";
return DBexecute($sql);
}