X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/f6faefbedad2de5c5d4aa915f5a5f180039c055b..857ce6770cce9e107bb1aca3cb8545a80d9068e1:/src/detail.php diff --git a/src/detail.php b/src/detail.php index 6561b8f..a0af8ac 100644 --- a/src/detail.php +++ b/src/detail.php @@ -30,6 +30,8 @@ require_once("mod_error-reporter/init.inc"); require_once("sec/secure.inc"); require_once("js.inc"); +db_user("errorreporter"); + PageBlue(_c("error-reporter:Change an error report"), "mod_error-reporter"); if(!$cfgErrors->userHasAccess()) { @@ -65,7 +67,7 @@ $er = $doc->getErrorReportByID($getUid); $strOldComment = $er->getComment(); // Probably we have to update an error report -if($getAction == "update" and $postSubmit == _c("Change")) +if($getAction == "update" and $postSubmit == _("Change")) { if($cfgErrors->userIsAdmin()) { $postComment = stripslashes(@$_POST["comment"]); @@ -124,8 +126,8 @@ if($cfgErrors->userIsAdmin()) { "Comment written by:"), erGetRealUserName($er->getCommentOwner())); } } -echo sprintf("