diff options
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"])) |
