summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-07-01 11:34:17 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-07-01 11:34:17 +0000
commit9914a035650ffb324655e1187f1bc822e4823b64 (patch)
treed4c7a0010dbc0c8af22a9a49ab28da6720559387 /frontends/php/include
parentd1f643e5097215db8c0e4ac0ba472b5ebc6ba945 (diff)
downloadzabbix-9914a035650ffb324655e1187f1bc822e4823b64.tar.gz
zabbix-9914a035650ffb324655e1187f1bc822e4823b64.tar.xz
zabbix-9914a035650ffb324655e1187f1bc822e4823b64.zip
Hosts displayed in network maps became clickable.
git-svn-id: svn://svn.zabbix.com/trunk@118 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/config.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/frontends/php/include/config.inc b/frontends/php/include/config.inc
index 6ee95d11..631b6b39 100644
--- a/frontends/php/include/config.inc
+++ b/frontends/php/include/config.inc
@@ -459,11 +459,11 @@
if( ($page["file"]=="sysmaps.html")||
($page["file"]=="sysmap.html"))
{
- echo "<b>[SYSTEM MAPS]</b></a>";
+ echo "<b>[NETWORK MAPS]</b></a>";
}
else
{
- echo "SYSTEM MAPS</a>";
+ echo "NETWORK MAPS</a>";
}
?>
</font>
@@ -723,6 +723,8 @@
function delete_graph($graphid)
{
+ $sql="delete from graphs_items where graphid=$graphid";
+ $result=DBexecute($sql);
$sql="delete from graphs where graphid=$graphid";
$result=DBexecute($sql);
}
@@ -815,6 +817,8 @@
delete_triggers_functions_by_itemid($itemid);
delete_history_by_itemid($itemid);
+ $sql="delete from graphs_items where itemid=$itemid";
+ $result=DBexecute($sql);
$sql="delete from items where itemid=$itemid";
$result=DBexecute($sql);
}