diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-12-04 11:10:23 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-12-04 11:10:23 +0000 |
| commit | b8677042875ced11a84258e57642fa75e85a022c (patch) | |
| tree | 120f7b0f197cac72079aae1f5a6b8db674ec3047 /frontends/php/include | |
| parent | 560c32cc84776bc518a625dbc92acd08920e3fc1 (diff) | |
- automatic recovery of unsupported items (Alexei)
- added config.refresh_unsupported (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2386 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
| -rw-r--r-- | frontends/php/include/config.inc.php | 4 | ||||
| -rw-r--r-- | frontends/php/include/locales/en_gb.inc.php | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index d3acc719..2a62a268 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -1915,7 +1915,7 @@ echo "</head>"; # Update configuration // function update_config($smtp_server,$smtp_helo,$smtp_email,$alarm_history,$alert_history) - function update_config($alarm_history,$alert_history) + function update_config($alarm_history,$alert_history,$refresh_unsupported) { if(!check_right("Configuration of Zabbix","U",0)) { @@ -1925,7 +1925,7 @@ echo "</head>"; // $sql="update config set smtp_server='$smtp_server',smtp_helo='$smtp_helo',smtp_email='$smtp_email',alarm_history=$alarm_history,alert_history=$alert_history"; - $sql="update config set alarm_history=$alarm_history,alert_history=$alert_history"; + $sql="update config set alarm_history=$alarm_history,alert_history=$alert_history,refresh_unsupported=$refresh_unsupported"; return DBexecute($sql); } diff --git a/frontends/php/include/locales/en_gb.inc.php b/frontends/php/include/locales/en_gb.inc.php index 1112b6b0..ee2b4c0e 100644 --- a/frontends/php/include/locales/en_gb.inc.php +++ b/frontends/php/include/locales/en_gb.inc.php @@ -226,6 +226,9 @@ "S_AUTOREGISTRATION_WAS_NOT_UPDATED"=> "Autoregistration was not updated", "S_AUTOREGISTRATION_DELETED"=> "Autoregistration deleted", "S_AUTOREGISTRATION_WAS_NOT_DELETED"=> "Autoregistration was not deleted", + "S_OTHER"=> "Other", + "S_OTHER_PARAMETERS"=> "Other parameters", + "S_REFRESH_UNSUPPORTED_ITEMS"=> "Refresh unsupported items (in sec)", // Latest values "S_LATEST_VALUES"=> "Latest values", |
