summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/html.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-03 06:35:28 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-03 06:35:28 +0000
commitcff3cc1ef8b6ac526e7968be6a10c09669461be1 (patch)
treecdb8c67a959922a86e98a01b6104f52c3828b786 /frontends/php/include/html.inc.php
parent50cb63535597c91584f08f6d6f00cfcdbe0dd198 (diff)
downloadzabbix-cff3cc1ef8b6ac526e7968be6a10c09669461be1.tar.gz
zabbix-cff3cc1ef8b6ac526e7968be6a10c09669461be1.tar.xz
zabbix-cff3cc1ef8b6ac526e7968be6a10c09669461be1.zip
- improved 'Latest data' sreen, items grouped by applications (Eugene)
- added applications for hosts (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@2794 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/html.inc.php')
-rw-r--r--frontends/php/include/html.inc.php16
1 files changed, 11 insertions, 5 deletions
diff --git a/frontends/php/include/html.inc.php b/frontends/php/include/html.inc.php
index 61ec6dca..9a4f593a 100644
--- a/frontends/php/include/html.inc.php
+++ b/frontends/php/include/html.inc.php
@@ -89,14 +89,20 @@
{
global $_REQUEST;
+ $result = "";
if(isset($_REQUEST[$parameter]))
{
- return "&$parameter=".$_REQUEST[$parameter];
- }
- else
- {
- return "";
+ if(is_array($_REQUEST[$parameter]))
+ {
+ foreach($_REQUEST[$parameter] as $par)
+ $result .= "&".$parameter."[]=".$par;
+ }
+ else
+ {
+ $result = "&".$parameter."=".$_REQUEST[$parameter];
+ }
}
+ return $result;
}
function table_begin($class="tableinfo")