X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/c110fe0bbf43c8e09a349952df7dabb7a1d4cda3..a17a8d5e2641a8d5b6e0a87dcc5d99f56648a295:/src/config.php diff --git a/src/config.php b/src/config.php index 02207eb..dfc09c1 100644 --- a/src/config.php +++ b/src/config.php @@ -1,33 +1,31 @@ td.errors-cfg-field { padding: 1em; @@ -52,7 +52,8 @@ td.errors-cfg-field input { $cfgErrors = new erConfig(); require_once("mod_error-reporter/config.inc"); -PageBlue(_c("error-reporter-cfg:Error Report Wizard â Configuration"), "mod_error-reporter"); +PageBlue(_c("error-reporter-cfg:Error Report Wizard â Configuration"), + "mod_error-reporter"); if(@$_POST["submit"] == _("Save")) { $bMailNotify = (@$_POST["mailnotify"] == "true"); @@ -61,43 +62,50 @@ if(@$_POST["submit"] == _("Save")) { if($bMailNotify != $cfgErrors->isMailNotify()) { $cfgErrors->setMailNotify($bMailNotify); - echo sprintf("
%s
\n", _c("error-reporter-cfg:Set mail notification.")); + echo sprintf("%s
\n", _c("error-reporter-cfg:Set mail ". + "notification.")); } if($strMailNotifyAddr != $cfgErrors->getMailNotifyAddr()) { if(!erIsMailAddress($strMailNotifyAddr)) { - echo sprintf("%s
", _c("error-reporter-cfg:The specified string is not ". - "a valid e-mail address!")); + echo sprintf("%s
", _c("error-reporter-cfg:The ". + "specified string is not a valid e-mail address!")); } else { $cfgErrors->setMailNotifyAddr($strMailNotifyAddr); - echo sprintf("%s
\n", _c("error-reporter-cfg:Set mail notification address.")); + echo sprintf("%s
\n", _c("error-reporter-cfg:Set mail ". + "notification address.")); } } $cfgErrors->writeConfig(); } // two columns -echo "\n";
+echo "
|