diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-12-07 09:44:28 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-12-07 09:44:28 +0000 |
commit | 57aba8a89d9da927a39a3ffadf258ead2f27b3c7 (patch) | |
tree | 59a8dc852f93f9b9760043a4a2e9388ca4d9249e /frontends/php/tr_comments.php | |
parent | cfacb3b129f95ee9efc41830d0a939875e7732ed (diff) | |
download | zabbix-57aba8a89d9da927a39a3ffadf258ead2f27b3c7.tar.gz zabbix-57aba8a89d9da927a39a3ffadf258ead2f27b3c7.tar.xz zabbix-57aba8a89d9da927a39a3ffadf258ead2f27b3c7.zip |
- all <? ?> were changed to <?php ?>. No changes in php.ini required anymore.
(Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@580 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/tr_comments.php')
-rw-r--r-- | frontends/php/tr_comments.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/frontends/php/tr_comments.php b/frontends/php/tr_comments.php index 38d2dbf3..28f1e1aa 100644 --- a/frontends/php/tr_comments.php +++ b/frontends/php/tr_comments.php @@ -1,11 +1,11 @@ -<? +<?php $page["title"] = "Trigger comments"; $page["file"] = "tr_comments.php"; include "include/config.inc.php"; show_header($page["title"],0,0); ?> -<? +<?php if(!check_right("Trigger comment","R",$HTTP_GET_VARS["triggerid"])) { show_table_header("<font color=\"AA0000\">No permissions !</font>"); @@ -14,12 +14,12 @@ } ?> -<? +<?php show_table_header("TRIGGER COMMENTS"); echo "<br>"; ?> -<? +<?php if(isset($HTTP_GET_VARS["register"]) && ($HTTP_GET_VARS["register"]=="update")) { $result=update_trigger_comments($HTTP_GET_VARS["triggerid"],$HTTP_GET_VARS["comments"]); @@ -27,12 +27,12 @@ } ?> -<? +<?php $result=DBselect("select comments from triggers where triggerid=".$HTTP_GET_VARS["triggerid"]); $comments=stripslashes(DBget_field($result,0,0)); ?> -<? +<?php show_table2_header_begin(); echo "Comments"; @@ -49,6 +49,6 @@ show_table2_header_end(); ?> -<? +<?php show_footer(); ?> |