summaryrefslogtreecommitdiffstats
path: root/frontends/php/sysmap.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-01-03 10:19:46 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-01-03 10:19:46 +0000
commit0c842577406971313b8f47bfdd83229390978846 (patch)
tree961ec56aee7a85725ef97cfdf785e2ab40c66466 /frontends/php/sysmap.php
parent0f6f9b4f0262c27c6c46d7081ed991cee6b8b47b (diff)
downloadzabbix-0c842577406971313b8f47bfdd83229390978846.tar.gz
zabbix-0c842577406971313b8f47bfdd83229390978846.tar.xz
zabbix-0c842577406971313b8f47bfdd83229390978846.zip
- added support of macro {HOSTNAME}, removed support of
%s (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1120 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/sysmap.php')
-rw-r--r--frontends/php/sysmap.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/frontends/php/sysmap.php b/frontends/php/sysmap.php
index 568c215b..ff187f46 100644
--- a/frontends/php/sysmap.php
+++ b/frontends/php/sysmap.php
@@ -184,12 +184,12 @@
if(isset($triggerid))
{
- $trigger=get_trigger_by_triggerid($triggerid);
- $description=$trigger["description"];
- if( strstr($description,"%s"))
- {
+// $trigger=get_trigger_by_triggerid($triggerid);
+// $description=$trigger["description"];
+// if( strstr($description,"%s"))
+// {
$description=expand_trigger_description($triggerid);
- }
+// }
}
else
{
@@ -356,12 +356,12 @@
echo "<OPTION VALUE='0' SELECTED>-";
for($i=0;$i<DBnum_rows($result);$i++)
{
- $triggerid_=DBget_field($result,$i,0);
- $description_=DBget_field($result,$i,1);
- if( strstr($description_,"%s"))
- {
+// $triggerid_=DBget_field($result,$i,0);
+// $description_=DBget_field($result,$i,1);
+// if( strstr($description_,"%s"))
+// {
$description_=expand_trigger_description($triggerid_);
- }
+// }
echo "<OPTION VALUE='$triggerid_'>$description_";
}
echo "</SELECT>";