From b327677b4e405ccc71f6292fad2ff08abe2f7c99 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Mon, 8 May 2006 17:17:58 +0000 Subject: Minor changes. git-svn-id: svn://svn.zabbix.com/trunk@2822 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/config.php | 67 ------------------------------------------------ 1 file changed, 67 deletions(-) (limited to 'frontends/php/config.php') 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 "
"; - 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="".S_CHANGE.""; - table_row(array( - $row["escalationid"], - $row["name"], - $yes, - $actions),$col++); - } - if(DBnum_rows($result)==0) - { - echo ""; - echo "".S_NO_ESCALATION_RULES_DEFINED.""; - echo ""; - } - table_end(); - - insert_escalation_form($_REQUEST["escalationid"]); - - if(isset($_REQUEST["escalationid"])) - { - echo "
"; - 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="".S_CHANGE.""; - $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 ""; - echo "".S_NO_ESCALATION_DETAILS.""; - echo ""; - } - table_end(); - - insert_escalation_rule_form($_REQUEST["escalationid"],$_REQUEST["escalationruleid"]); - } - } -*/ elseif($_REQUEST["config"]==3) { if(isset($_REQUEST["form"])) -- cgit