summaryrefslogtreecommitdiffstats
path: root/frontends/php/overview.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-21 13:17:24 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-21 13:17:24 +0000
commit8ef6917ea5eaae24bc2a15a06a99b3b1f24d1f35 (patch)
tree86b9957c4a9a6c4da386064fb497a69cad9fad03 /frontends/php/overview.php
parent2547403188f63f0042a15aff4d17e04e2e80d715 (diff)
downloadzabbix-8ef6917ea5eaae24bc2a15a06a99b3b1f24d1f35.tar.gz
zabbix-8ef6917ea5eaae24bc2a15a06a99b3b1f24d1f35.tar.xz
zabbix-8ef6917ea5eaae24bc2a15a06a99b3b1f24d1f35.zip
- added quick help for overview (Eugene)
- developed Dicovery system (Alexei/Eugene) git-svn-id: svn://svn.zabbix.com/trunk@3904 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/overview.php')
-rw-r--r--frontends/php/overview.php31
1 files changed, 30 insertions, 1 deletions
diff --git a/frontends/php/overview.php b/frontends/php/overview.php
index 71008ca8..afd92191 100644
--- a/frontends/php/overview.php
+++ b/frontends/php/overview.php
@@ -93,7 +93,36 @@ include_once "include/page_header.php";
$cmbType->AddItem(SHOW_DATA, S_DATA);
$form->AddItem(array(S_TYPE.SPACE,$cmbType));
- show_table_header(S_OVERVIEW_BIG, $form);
+ $help = new CHelp('web.view.php','left');
+ $help_table = new CTableInfo();
+ $help_table->AddOption('style', 'width: 200px');
+ if($_REQUEST["type"]==SHOW_TRIGGERS)
+ {
+ $help_table->AddRow(array(new CCol(SPACE, 'normal'), S_DISABLED));
+ }
+ foreach(array(1,2,3,4,5) as $tr_severity)
+ $help_table->AddRow(array(new CCol(get_severity_description($tr_severity),get_severity_style($tr_severity)),S_ENABLED));
+ $help_table->AddRow(array(new CCol(SPACE, 'unknown_trigger'), S_UNKNOWN));
+ if($_REQUEST["type"]==SHOW_TRIGGERS)
+ {
+ $col = new CCol(SPACE, 'unknown_trigger');
+ $col->AddOption('style','background-image: url(images/gradients/blink1.gif); '.
+ 'background-position: top left; background-repeat: repeate;');
+ $help_table->AddRow(array($col, S_5_MIN));
+ $col = new CCol(SPACE, 'unknown_trigger');
+ $col->AddOption('style','background-image: url(images/gradients/blink2.gif); '.
+ 'background-position: top left; background-repeat: repeate;');
+ $help_table->AddRow(array($col, S_15_MIN));
+ $help_table->AddRow(array(new CCol(SPACE), S_NO_TRIGGER));
+ }
+ else
+ {
+ $help_table->AddRow(array(new CCol(SPACE), S_DISABLED.' '.S_OR.' '.S_NO_TRIGGER));
+ }
+
+ $help->SetHint($help_table);
+ show_table_header(array($help, S_OVERVIEW_BIG), $form);
+ unset($help, $help_table, $form, $col);
?>
<?php