diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-05-08 17:17:58 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-05-08 17:17:58 +0000 |
| commit | b327677b4e405ccc71f6292fad2ff08abe2f7c99 (patch) | |
| tree | bd14a7f6a9e0cd6447d56759f4050890235962a4 /frontends/php/config.php | |
| parent | 579448298e554487e82ec07ea2f5b2a9cc6adfd0 (diff) | |
| download | zabbix-b327677b4e405ccc71f6292fad2ff08abe2f7c99.tar.gz zabbix-b327677b4e405ccc71f6292fad2ff08abe2f7c99.tar.xz zabbix-b327677b4e405ccc71f6292fad2ff08abe2f7c99.zip | |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2822 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/config.php')
| -rw-r--r-- | frontends/php/config.php | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/frontends/php/config.php b/frontends/php/config.php index 856c086a..dd83c084 100644 --- a/frontends/php/config.php +++ b/frontends/php/config.php @@ -419,73 +419,6 @@ $table->show(); } } -/* -// Disabled - elseif($_REQUEST["config"]==2) - { - echo "<br>"; - show_table_header(S_ESCALATION_RULES_BIG); - - table_begin(); - table_header(array(S_ID,S_DESCRIPTION_SMALL,S_DEFAULT,S_ACTIONS)); - - $result=DBselect("select * from escalations order by name"); - $col=0; - while($row=DBfetch($result)) - { - $yes=iif($row["dflt"]==1,array("value"=>S_YES,"class"=>"on"),array("value"=>S_NO,"class"=>"off")); - - $actions="<a href=\"config.php?config=2®ister=change&escalationid=".$row["escalationid"]."\">".S_CHANGE."</a>"; - table_row(array( - $row["escalationid"], - $row["name"], - $yes, - $actions),$col++); - } - if(DBnum_rows($result)==0) - { - echo "<TR BGCOLOR=#EEEEEE>"; - echo "<TD COLSPAN=4 ALIGN=CENTER>".S_NO_ESCALATION_RULES_DEFINED."</TD>"; - echo "<TR>"; - } - table_end(); - - insert_escalation_form($_REQUEST["escalationid"]); - - if(isset($_REQUEST["escalationid"])) - { - echo "<br>"; - show_table_header(S_ESCALATION_RULES); - - table_begin(); - table_header(array(S_LEVEL,S_PERIOD,S_DELAY_BEFORE_ACTION,S_DO,S_ACTIONS)); - - $result=DBselect("select * from escalation_rules order by level"); - $col=0; - while($row=DBfetch($result)) - { - $actions="<a href=\"config.php?config=2®ister=change&escalationid=".$_REQUEST["escalationid"]."&escalationruleid=".$row["escalationruleid"]."\">".S_CHANGE."</a>"; - $actiontypes=array("Do nothing","Execute action","Increase severity","Increase administrative hierarcy"); - - table_row(array( - $row["level"], - $row["period"], - $row["delay"], - $actiontypes[$row["actiontype"]], - $actions),$col++); - } - if(DBnum_rows($result)==0) - { - echo "<TR BGCOLOR=#EEEEEE>"; - echo "<TD COLSPAN=5 ALIGN=CENTER>".S_NO_ESCALATION_DETAILS."</TD>"; - echo "<TR>"; - } - table_end(); - - insert_escalation_rule_form($_REQUEST["escalationid"],$_REQUEST["escalationruleid"]); - } - } -*/ elseif($_REQUEST["config"]==3) { if(isset($_REQUEST["form"])) |
