summaryrefslogtreecommitdiffstats
path: root/frontends/php/tr_comments.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-04-05 09:16:29 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-04-05 09:16:29 +0000
commit0c9653d6ab8fca3be69489943f1fcc4e9d797102 (patch)
tree4e3d0f7e328577428161b62d3872bbdeefacb70c /frontends/php/tr_comments.php
parent07abfc5904f98fd5139b5ac6d92aaa34a7ccf9b7 (diff)
downloadzabbix-0c9653d6ab8fca3be69489943f1fcc4e9d797102.tar.gz
zabbix-0c9653d6ab8fca3be69489943f1fcc4e9d797102.tar.xz
zabbix-0c9653d6ab8fca3be69489943f1fcc4e9d797102.zip
- added latest values filtring/marking of log history (Eugene)
- developed multiple log history viewing (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@2719 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/tr_comments.php')
-rw-r--r--frontends/php/tr_comments.php23
1 files changed, 4 insertions, 19 deletions
diff --git a/frontends/php/tr_comments.php b/frontends/php/tr_comments.php
index 49720858..3de04b36 100644
--- a/frontends/php/tr_comments.php
+++ b/frontends/php/tr_comments.php
@@ -20,6 +20,8 @@
?>
<?php
include "include/config.inc.php";
+ include "include/forms.inc.php";
+
$page["title"] = "S_TRIGGER_COMMENTS";
$page["file"] = "tr_comments.php";
show_header($page["title"],0,0);
@@ -47,25 +49,8 @@
?>
<?php
- $trigger=get_trigger_by_triggerid($_REQUEST["triggerid"]);
- $comments=stripslashes($trigger["comments"]);
-?>
-
-<?php
- show_form_begin("tr_comments.comments");
- echo S_COMMENTS;
-
- show_table2_v_delimiter();
- echo "<form method=\"get\" action=\"tr_comments.php\">";
- echo "<input name=\"triggerid\" type=\"hidden\" value=".$_REQUEST["triggerid"].">";
- echo S_COMMENTS;
- show_table2_h_delimiter();
- echo "<textarea name=\"comments\" cols=100 ROWS=\"25\" wrap=\"soft\">$comments</TEXTAREA>";
-
- show_table2_v_delimiter2();
- echo "<input class=\"button\" type=\"submit\" name=\"register\" value=\"update\">";
-
- show_table2_header_end();
+ echo BR;
+ insert_trigger_comment_form($_REQUEST["triggerid"]);
?>
<?php