X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/3e05075cf3aeff4d23dc9eba7af236ea47cb919d..c5f1339032c1317666b486e75916715c2fa43b47:/src/config.php diff --git a/src/config.php b/src/config.php index 0505dae..52ba154 100644 --- a/src/config.php +++ b/src/config.php @@ -50,7 +50,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"); @@ -59,43 +60,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 "
|